This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clarification about an exception needed..

 
srinivas sanikommu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,
i am new to JSP. i got a problem like when iam trying to get the page of jsp which has tag libs iam getting an exception telling
"An internal error has occured" it is tell the exception as "http://java.sun.com/jsp/jstl/core is not available in either web.xml"

can any help me,
thank you,

srinu...
 
Giovanni De Stefano
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am new to JSP as well, but I might help you.

Did you check if you have the jstl.jar file under your yourWebbApp/WEB-INF/lib directory?
If you don't have it, then you have to copy it there, stop and restart your container.

I hope this helps!

Giovanni
 
James Christian
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can only use JSTL (Suns's ready made tags) if you have a copy of the correct jar in your WEB-INF/lib directory.

The name of the jar is jstl.jar and if you are running Tomcat you can find it at webapps/jsp-examples/WEB-INF/lib/jstl.jar in your tomcat hierarchy.

Be sure to copy the jar from there into the WEB-INF/lib directory of all your web-apps that will use JSTL standard tags. This is because thay are not imported by default.

I hope this explains things. If you are not running tomcat I'm sure you can download the jar from Sun at some place.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic