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 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 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 » 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..!
 
jQuery in Action, 2nd edition
 
subject: JSTL Problem