tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Arnott <b...@aungate.com>
Subject Re: JSTL startup question
Date Wed, 29 Mar 2006 13:16:05 GMT
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.

Make sure you web.xml has the following for the <web-app> tag:

<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">

Also, don't put any tag library defines in the web.xml... Other than
that, it's always worked for me...

Cheers,

-- 
Bob Arnott


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message