Hello;
The code is:
<%@page contentType="text/html"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head><title>
JSP Page</title></head>
<body>
<%
String[] movieList = {"matrix","goal","Departed"};
request.setAttribute("movieList",movieList);
%>
<table>
<c:forEach items = "${movieList}" var = "movie">
<tr><td>${movie}</td></tr>
</c:forEach>
</table>
</body>
</html>
While running this above simple <c:forEach> example i am getting an error is:
org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
I have not configured anything for this in web.xml.
Let me know the solution for this.
Regards;
Brijesh