What jar files do I need to use jstl in my jsp on tomcat 6.0.24 ?
Joined: Jul 09, 2010
Hello, I have been stuck on this for hours. I recently made a web app in netbeans 6.8 which was using Glassfish v3. I am now trying to put this app on a tomcat 6.0.24 server. I am using a tool called "winSCP" to transfer the files to the tomcat server that is not running on my machine. I have search all over the web for a solution but they all say different things regarding jar files and tld files etc.
And when I try and run the code from my browser, I get an error page that says http status 500
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
I have jstl-1.2.jar in the WEB-INF folder.
Also, I never tried working with a server before outside of netbeans so maybe it might also be the way I drag n dropped the files over to ther tomcat directory. I copied the files from the "build" folder in my netbeans project and those are the files I drag and dropped. Then I put the jstl jar file into the WEB_INF folder.
Note that TC 6 supports Servlet API 2.5/JSP 2.2, whereas GF 3 supports Servlet 3.0, so you'll need to change the web.xml file according to the ServletsWebXml page. (If you really *need* Servlet API 3.0, switch to TC 7, but you probably don't.)