tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: [PROPOSAL] EL Transition to Jakarta Commons
Date Thu, 19 Dec 2002 00:48:51 GMT
Jan Luehe wrote:
> Costin,
> 
> 
>>+1
>>
>>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
-- 
Hans Bergsten                                <hans@gefionsoftware.com>
Gefion Software                       <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <http://TheJSPBook.com/>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message