Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Cannot use JSTL in my project

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am usng Tomcat 7.0.23 and Eclipse to learn J2EE programming, but I am getting errors in part where JSTL is introduced, my exact error is:


In my project I have in WEB-INF/lib folder files: jstl-1.2.jar and standard.jar.
My web.xml file is below:


Can anyone help me with this problem?
 
Saloon Keeper
Posts: 7314
170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This may help: https://coderanch.com/how-to/java/SetupJstlForJsp2
 
Timo Tamme
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now I tried with this tutorial, but didnt help me, still getting the same error:


I changed these .jar files and removed previous ones (also removed old .jar files from Eclipse project), also chekced that my $CATALINA_HOME/lib doesn't contain these .jar's already.
Do I need to use older version of Tomcat?
 
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please post the jsp you are trying to load?
Thanks
 
Timo Tamme
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find solution for my problem, I undeployed my project from Tomcat, restarted Tomcat service and deployed my project again and JSTL standard tags are working now. Thanks for trying to helpp me!
 
what if we put solar panels on top of the semi truck trailer? That could power this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic