Jstl
Boa tarde pessoal estou com problemas com JSTL, o código está da seguinte maneira. Quando mando executar a página ele não imprime o resultado, imprime o código jstl como se fosse html, alguém pode me ajudar a entender o que está acontecendo?
<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>
<!-- for -->
<c:forEach var="contato" items="${contatos}">
${contato.id} - ${contato.nome} <br/>
</c:forEach>
</body>
</html>Discussão (1)
Carregando comentários...