• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Taglib uri for jstl core??

 
Isha Garg
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you miss jstl jar file .

If you miss , then download the latest jstl jar.
 
Isha Garg
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1603
5
Android Java Java ME
 
Isha Garg
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks It has solved my problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic