Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

taglib not working

843838Jul 26 2006 — edited Jul 31 2006
I am trying to get my first taglib to work in my webapps:
Tomcat 5.5\webapps\myfirst

I keep getting error message when I pull up my servlet that is calling my jsp:
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
Here is my jsp:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<body>

<c:forEach var="city" items="${requestScope.city}">
......
</c:forEach>
</table>
</body>
</html>
I am not sure if I need to add some sort of taglib info in my web.xml or what I need to do to get taglib to work?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2006
Added on Jul 26 2006
10 comments
476 views