This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes JSTL Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "JSTL Problem" Watch "JSTL Problem" New topic
Author

JSTL Problem

Manwatkar Vaibhav
Greenhorn

Joined: Jun 11, 2007
Posts: 26
Hi All,
I am try to use JSTL tags..
In my JSP, I have tried using <c:forEach> tag..
At the top, I included the taglib directive as follows..

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

But I am getting an error as :

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

What is wrong..?
I downloaded & copied the jstl.jar file in /tomcat/common/lib directory which previously I was not having..

What else shall I do..?


Regards,<br />---------<br />Vaibhav<br />SCJP 1.4<br />SCWCD 1.4<br />---------
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

You've forgot standard.jar. Please check the following : http://faq.javaranch.com/view?JstlTagLibDefinitions


[My Blog]
All roads lead to JavaRanch
Manwatkar Vaibhav
Greenhorn

Joined: Jun 11, 2007
Posts: 26
Thanks Satou kurinosuke,

I did as U said, and it worked..

Thanks again..!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL Problem
 
Similar Threads
Can't get first JSTL to work
Hello c: out 's default attribute not working
jstl is not working
Doubt in question 12 of chapter 9 in SCWCD Study Guide - by David Bridgewater
JSTL tag c:forEach