On 4/20/07, Crawford, Preston <[EMAIL PROTECTED]> wrote:
Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that
you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just
need to figure out what version of JSTL we can/should run.

Struts ships with an optional "EL" taglib - that is the equivalent of
the standard tags but supporting EL. The Struts EL taglib is for use
with JSTL 1.0 in a Servlet 2.3/JSP 1.2 environment. JSTL 1.1 became
part of the Servlet/JSP spec in version Servlet 2.4/JSP 2.0 - in that
environment you would NOT use the Struts EL taglib - just the standard
Struts taglib - because the expresion language support is provided by
the container (rather than the Struts tags). The only reason for the
Struts EL taglib was to allow people to start using EL in a Servlet
2.3/JSP 1.2 environment (i.e. before the container supported it).

So in your Servlet 2.4 environment you have to use JSTL 1.1 and the
standard Struts taglib.

Niall

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

Reply via email to