wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60737
    
  65

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
 
Similar Threads
Enabling JSTL tags
Doubt in question 12 of chapter 9 in SCWCD Study Guide - by David Bridgewater
How to use JSTL ?
JSTL Error cannot be resolved
Default JSTL URI can't be resolved