This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem using JSTL in Tomcat" Watch "Problem using JSTL in Tomcat" New topic
Author

Problem using JSTL in Tomcat

Patrik Nilsson
Ranch Hand

Joined: Oct 05, 2004
Posts: 49
Hi,
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="http://java.sun.com/jstl/core" prefix="c" %>in my JSP.

When I run it I get an exception 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

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
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

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: http://aspose.com/file-tools
 
subject: Problem using JSTL in Tomcat