my dog learned polymorphism*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Taglib uri for jstl core?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Taglib uri for jstl core??" Watch "Taglib uri for jstl core??" New topic
Author

Taglib uri for jstl core??

Isha Garg
Greenhorn

Joined: Mar 12, 2010
Posts: 29
Hi All,

Can any one please tell me the uri for core tag library

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

But it says: uri cant be resolved in either the web.xml or jar files deployed in this application.

Thanks in advance.
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
I think you miss jstl jar file .

If you miss , then download the latest jstl jar.


Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
Isha Garg
Greenhorn

Joined: Mar 12, 2010
Posts: 29
Thanks for your reply.
Ya, I was missing jstl.jar

I have added jstl.jar in my WEB-INF/lib directory now
Location of my c.tld is WEB-INF/lib/jstl.jar/META-INF/c.tld

Now, I am confused what would I add in web.xml

<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>WEB-INF/lib/jstl.jar/META-INF/c.tld</taglib-location>
</taglib>

This does not work...

Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

http://www.coderanch.com/how-to/java/SetupJstlForJsp2


Swastik
Isha Garg
Greenhorn

Joined: Mar 12, 2010
Posts: 29
Thanks It has solved my problem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Taglib uri for jstl core??