This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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: 63052

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
jQuery in Action, 3rd edition
subject: Problem using JSTL in Tomcat
jQuery in Action, 3rd edition