It's not a secret anymore!
The moose likes JSP and the fly likes Problem using JSTL in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem using JSTL in Tomcat" Watch "Problem using JSTL in Tomcat" New topic

Problem using JSTL in Tomcat

Patrik Nilsson
Ranch Hand

Joined: Oct 05, 2004
Posts: 49
I am runing my webapp in Tomcat 5.0.28 and would like to use <c:forEach> to iterate over a collection.
I have added jstl.jar in my WEB-INF/lib and added
<%@ taglib uri="" prefix="c" %>in my JSP.

When I run it I get an exception org.apache.jasper.JasperException: The absolute uri: cannot be resolved in either web.xml or the jar files deployed with this application

Is there anything else I need to do?

Sun Certified Java Programmer<br />Sun Certified Web Component Developer<br />IBM Certified Enterprise Developer
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63355

Have you read the entries in the JSP FAQ regarding this issue?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Problem using JSTL in Tomcat
It's not a secret anymore!