• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

clarification about an exception needed..

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic