You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "David M. Karr" <dm...@earthlink.net> on 2003/03/06 05:32:17 UTC

Tag libraries that use ExpressionEvaluator depend on Jakarta implementation

This is probably obvious, but it is the case that any tag libraries that use
the ExpressionEvaluator class in the Jakarta JSTL implementation are actually
dependent on the Jakarta implementation, as opposed to the specification,
correct?  Since only the JSP api is described in the specification, and not the
Java api, then another JSTL implementation could use a completely different
class.  I'm not complaining, I just want to make sure I'm clear on that point.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net   ; SCJP; SCWCD




---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: Tag libraries that use ExpressionEvaluator depend on Jakarta implementation

Posted by Pierre Delisle <pi...@sun.com>.
David M. Karr wrote:
> This is probably obvious, but it is the case that any tag libraries that use
> the ExpressionEvaluator class in the Jakarta JSTL implementation are actually
> dependent on the Jakarta implementation, as opposed to the specification,
> correct?  

Yes this is correct, as mentioned also by Tim.

> Since only the JSP api is described in the specification, and not the
> Java api, 

Sorry, I don't quite get the distinction you're making here.

> then another JSTL implementation could use a completely different
> class.  I'm not complaining, I just want to make sure I'm clear on that point.

If you are talking JSTL 1.0 URIs, then this is correct.
With JSTL 1.1 URIs, the EL is provided by the JSP container and an
API is exposed in the JSP 2.0 spec for whoever wants direct access.

     -- Pierre




---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


RE: Tag libraries that use ExpressionEvaluator depend on Jakarta implementation

Posted by "O'brien, Tim" <to...@transolutions.net>.
I believe you are correct.  J2EE 1.4
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/el/ExpressionEvaluat
or.html has an ExpressionEvaluator class.

In the meantime, it may be a good idea for Jakarta Taglibs to run a
Class.forName() on both of the evaluators, and use the 1.4 alternative when
available.  But, I haven't thought this through in detail as I am not using
Servlet 2.4 or JSP 2.0 yet - I'm waiting for Tomcat 5.0 to reach beta to
dive into that development.

--------
Tim O'Brien 

> -----Original Message-----
> From: David M. Karr [mailto:dmkarr@earthlink.net] 
> Sent: Wednesday, March 05, 2003 10:32 PM
> To: taglibs-user@jakarta.apache.org
> Subject: Tag libraries that use ExpressionEvaluator depend on 
> Jakarta implementation
> 
> 
> This is probably obvious, but it is the case that any tag 
> libraries that use the ExpressionEvaluator class in the 
> Jakarta JSTL implementation are actually dependent on the 
> Jakarta implementation, as opposed to the specification, 
> correct?  Since only the JSP api is described in the 
> specification, and not the Java api, then another JSTL 
> implementation could use a completely different class.  I'm 
> not complaining, I just want to make sure I'm clear on that point.
> 
> -- 
> ===================================================================
> David M. Karr          ; Java/J2EE/XML/Unix/C++
> dmkarr@earthlink.net   ; SCJP; SCWCD
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org