jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Delisle <Pierre.Deli...@Sun.COM>
Subject Re: Dual Taglibs...
Date Mon, 29 Sep 2003 18:19:37 GMT

The JSTL 1.1 spec says the following in the Compatibility section:

 The JSTL 1.0 URIs are deprecated as of JSTL 1.1. If used, they should normally
 appear in a web application that has a servlet 2.3 deployment descriptor to disable
 the JSP 2.0 EL machinery. If used with a servlet 2.4 deployment descriptor, the JSP
 2.0 EL machinery must be explicitely disabled for the pages where the JSTL 1.0 tag
 libraries are used. Consult the JSP specification for details.

The intent of the expert group is to base any new development on the
JSP 2.0 spec. So dual taglibraries were only a temporary fix when 
JSTL 1.0 first came out.

J2EE 1.4 is just around the corner, but it takes some time for vendors
to push their new releases and for people to adopt them.
If you don't mind going through the extra pain, 
you'll definitely have more traction if you go with dual libraries.
But dual tag libraries will definitely be things of the past when 
J2EE 1.4 is widely adopted.

    -- Pierre

Mark R. Diggory wrote:

> I think I should try to clarify this question further. I understand that 
> EL support is native with JSP 2.0, and that JSTL 1.1 is designed to be 
> backward compatable with 1.0. My question has more to do with the future 
> direction of the JSTL dual libraries after 1.1 and into the future.
> Mostly, I could model the design of the JNDI taglibrary on those of the 
> current SQL taglibrary. In which case there would be two JNDI libraries, 
> one RT and the other EL (both sharing a common support library). 
> However, at this point, with the advent of EL support as part of JSP 
> 2.0, is there really a need to support the EL evaluation internally 
> within the taglibrary itself? In which case the library would really be 
> much more like the SQL RT taglibrary and EL would be available on JSP 
> 2.0 while JSP 1.2 containers would rely on RT.
> Is there an intention to maintain these dual implementations into the 
> future of JSTL? If so, then I would model on this, otherwise, I would 
> attempt to choose the design that JSTL was planning to move towards 
> instead.
> -Mark
> Mark R. Diggory wrote:
>> As Standard 1.1 and Tomcat 5.0 matures, is it the intention to 
>> eventually consolidate the dual rt/el packages?
>> -Mark

View raw message