Dear Friends,
I copy the jstl.jar file into my WEB-INF/lib to execute a program of JSTL.
The program is as follows.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html><body>
<table>
<c:forEach var ="movie" items="${movielist}">
<tr>
<td> ${movie} </tD>
</tR>
</c:forEach>
</table>
</body></html>
Also I write a servlet program
String movielist={"aaa","ccc"};
req.setAttribute("movielist",movielist);
But while executing JSTL I get the following error.
uri:http://java.sun.com/jsp/jstl/core cat't be resolved in either web.xml (or) the jar files deployed with this application.
What is wrong in this and what can i do to execute jstl programs?
Is there any configuration to execute custom tags, jstl programs
Thanks for all who give immediate reply.
I copy the jstl.jar file into my WEB-INF/lib to execute a program of JSTL.
The program is as follows.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html><body>
<table>
<c:forEach var ="movie" items="${movielist}">
<tr>
<td> ${movie} </tD>
</tR>
</c:forEach>
</table>
</body></html>
Also I write a servlet program
String movielist={"aaa","ccc"};
req.setAttribute("movielist",movielist);
But while executing JSTL I get the following error.
uri:http://java.sun.com/jsp/jstl/core cat't be resolved in either web.xml (or) the jar files deployed with this application.
What is wrong in this and what can i do to execute jstl programs?
Is there any configuration to execute custom tags, jstl programs
Thanks for all who give immediate reply.