jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "JSTL Problem" Watch "JSTL Problem" New topic

JSTL Problem

Manwatkar Vaibhav

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é

Joined: Nov 24, 2005
Posts: 14688

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

[My Blog]
All roads lead to JavaRanch
Manwatkar Vaibhav

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
jQuery in Action, 3rd edition