tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <>
Subject Re: [PROPOSAL] EL Transition to Jakarta Commons
Date Thu, 19 Dec 2002 00:48:51 GMT
Jan Luehe wrote:
> Costin,
>>Is the EL depenent on javax.servlet or javax.servlet.jsp, or is it
>>completely independent and useable in non-servlet-container environments ?
> There are some dependencies on servlet containers. For example, the EL
> supports implicit objects, one of them being "pageContext", so if you
> have an expression of the form "${pageContext}", it is evaluated to
> the PageContext object, which exists only in a servlet environment.

No, in the EL API defined in JSP 2.0, a separate VariableResolver takes
care of all variable value lookup, including implicit variables if any.
The intention with the EL API is that it should not have any servlet or
JSP dependencies. Some minor tweaks will be included in JSP 2.0 PFD2
to be released pretty soon.

 > [...]

Hans Bergsten                                <>
Gefion Software                       <>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message