Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

taglib directive  RSS feed

 
lokesh rajarathnam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

what would be the uri..? im getting error :the absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or jar files deployed with this application


 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you installed the JSTL according to the instructions in the JSP FAQ?
 
lokesh rajarathnam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya im using tomcat 5.5...

i think there is no need for instaling jstl for tomcat 5.5
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, JSTL is not already installed in Tomcat.

See the FAQ.
Make sure you look at the directions for JSTL 1.1 if you're using Tomcat version 5.5
 
Amit Degavekar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Make sure JSTL.jar and standard.jar are in your classpath.
Add Taglib entry into your web.xml.
Let me know if you still face the same problem.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Amit Degavekar:
Make sure JSTL.jar and standard.jar are in your classpath.

No. The app servers pay no attention to the classpath. Follow the instructions in the FAQ.
Add Taglib entry into your web.xml.

No. There is no need for any web.xml entry. It's unnecessary and just gives another place to foul things up. Follow the instructions in the FAQ.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!