To answer this a little differently than Laurie did, the Struts-EL tag
library is a collection of tags that all inherit the behavior of the
Struts tags they replace, except the tag attribute values are passed
through the JSTL expression evaluation engine implemented by the Jakarta
standard taglib implementation.

The Struts-EL tag library is only useful in a JSP 1.2 container (or in a
JSP 2.0 container if not specifying the Servlet 2.4 spec).  If you have
a JSP 2.0 container, and you specify the Servlet 2.4 spec, then EL
evaluation is done "natively" in the container, so you don't need a
special tag library to implement it (and it would probably cause
unexpected problems if you used it).

If you just used the Struts tag library, then attribute values in the
Struts tags like "${stuff}" would just produce the value "${stuff}".  If
you were instead to use Struts-EL, then it would produce a value based
on the value of the "stuff" scoped attribute.

In fact, the Java classes in the Struts-EL library all inherit from the
corresponding Java classes from the Struts tag library, it's just their
setters/getters that cause the values to be passed through the EL
engine.

> -----Original Message-----
> From: Garner, Shawn [mailto:[EMAIL PROTECTED] 
> 
> I'm not sure what exactly is Struts EL and how it compares to 
> the JSTL tags.
> 
> I've used JSTL 1.0 tags and see how there is overlap between 
> some of the Struts logic/bean tags but I fail to see what 
> exactly Struts EL is.
> 
> I've read http://struts.apache.org/struts-el/index.html
> <http://struts.apache.org/struts-el/index.html>  but I still 
> fail to see what it is.
> 
> Can somebody clarify this for me?

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

Reply via email to