<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4">
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
</web-app>
I am sorry for being so new to this stuff, man you have to have a LOT more environmental stuff to get JSP working than PHP.
Originally posted by Bear Bibeault:
Btw, the taglib declaration in your web.xml is not necessary -- Tomcat will find the tld in the standard.jar file automatically -- and is wrong (specifies the URI for version 1.0 of the JSTL). The URI you are using on your page contains the correct (JSTL 1.1) URI.
P.S. You do have the JSTL 1.1 jars, right?
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Strange. What errors?Originally posted by Rick Harding:
Ok, I am a bit confused. I THOUGHT that the jakarta-taglibs were 1.1. Now I tried to change the taglib to core_rt and got errors.
You were running the JSP container in JSP 1.2 compatibility mode because you didn't have a Servlet 2.4 (JSP 2.0) web.xml file. The taglibs you use clearly have EL support built in - in JSP 2.0, this EL support is the responsibility of the container itself.So can you explain how with Tomcat 5.0.28 (which I thought was a JSP 2.0 container) and the jakarta taglibs are somehow acting like a JSP 1.2 with 1.0 of the libs? Is there some kind of fallback mode or something I might be running into?
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |