[EMAIL PROTECTED] wrote:

I've had some trouble getting Tomcat 4.x to work with JSTL.  On a separate
machine I've installed Tomcat 5.x and have successfully used JSTL.  The
problem know is that I don't remember what I did.  Does JSTL come standard
with Tomcat 5.x?  Is that why it worked for me?  If not, which JSTL should I
try with Tomcat 5.x?

I'm a little confused because your first sentence implies you need help getting JSTL to work on Tomcat 4.x but your last sentence asks for help with 5.x. If the following isn't what you're looking for feel free to clarify.


From the JSTL documentation:

NOTE: Standard-1.0 (JSTL 1.0) requires a JSP container that supports the Java Servlet 2.3 and JavaServer Pages 1.2 specifications. Jakarta Tomcat 4 supports these specifications. The Standard 1.0 taglib has been tested with Tomcat 4.1.24.

Standard-1.1 (implementation of the JSTL 1.1 specification) requires a JSP container that supports the Java Servlet 2.4 and JavaServer Pages 2.0 specifications. Jakarta Tomcat 5 supports the new specifications. The Standard-1.1 taglib has been tested with Tomcat 5.0.3

So - in short:

1) JSTL 1.0 requires JSP 1.2 (and thus Tomcat 4.x AND ABOVE)

2) JSTL 1.1 requires JSP 2.0 (and thus Tomcat 5.x AND ABOVE)

3) So you need standard-1.0 (which implements JSTL 1.0) for Tomcat 4.x.


Hope that helps,


David

Sorry for the dumb questions. Thank you in advance.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to