• 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

Can't get JSTL 1.2 working on Tomcat 6

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

First of all, I would like to thanks in advance anyone who will try to figure out what I missed out in this configuration.

So, what is going to drive me crazy ? I am trying to run a JSP on Tomcat 6. So far, it works fine. But when I try to use JSTL, I got some error :
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

Of course I have read this FAQ and as adviced in it I am using JSTL 1.2 ; which is into WebContent/WEB-INF/lib (and automatically added into Web App Libraries).

When I read this thread I though that I found what was wrong. So I renamed the jstl-1.2.jar to jstl.jar, restarted IE (using it for the website I am migrating works only with it), empty whatever it may have stored, try also with Firefox but can't have my JSP working.

I am googling for a day on this problem (I hope you are not going to say that I don't know how to do that) so I ask you to give a new eye on this.
I guess I may have miswrited something and I hope the following files will speak to you:

web.xml

index.jsp


 
Florian Gutierrez
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, it works !

If someone want to know how to spend a whole day doing searching a bug that doesn't exists just ask me: this is where I am the best xD

So, if someone want to know what was wrong, or gets the same problem, I am going too explain that.
In fact, when I said to Eclipse that my project is a Tomcat one, I didn't say that the root sub-directory of this application is WebContent.

After I configured that, Tomcat was able to find the jar (which was in WebContent/WEB-INF/lib).


So, I have lost my day; but as always, I'm so glad to eventually find out what I was doing wrong...
 
reply
    Bookmark Topic Watch Topic
  • New Topic