Check your web.xml file to see whether the DTD is 2.3 or 2.4. It all
changed recently. http://java.sun.com/jsp/jstl/core is what you should
be using if you're at 2.4. If the DTD is 2.3, just update it to:
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
...
</web-app>
Kevin Passey wrote:
Well I am new to this so bear with me.
I am using Tomcat5.0.28 and jdk1.5.xx so can I assume that it would be 2.4.
What's confusing me is that I have written a test page without the /jsp/ and
it works - with the /jsp/ it literally prints the variables to the screen.
The tld in the tld directory in the distribution has /jsp/ in the url.
Thanks
Kevin
-----Original Message-----
From: Bob Arnott [mailto:[EMAIL PROTECTED]
Sent: 29 March 2006 10:56
To: Tag Libraries Users List
Subject: Re: JSTL startup question
Kevin Passey wrote:
[snipped...]
Would anybody be so good as to comment.
Open standard.jar that came with JSTL1.1.2 zip, browse to the
META-INF folder and open c.tld. In there near the top you'll
see a tag <uri>http://java.sun.com/jsp/jstl/core</uri> that's
the URI to use in your JSP pages -
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
What Servlet spec are you working against...? 2.3 or 2.4...?
Cheers,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]