tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rony G. Flatscher (Apache)" <r...@apache.org>
Subject Re: Question ad alternative of BSF taglib in Tomcat ? [Fwd: In the move of some taglibs to Tomcat, the BSF taglib got retired]
Date Tue, 13 Oct 2009 06:17:44 GMT

Henri Yandell wrote:
> Not sure where Christopher's email was, but:
>
> If there is any interest in a retired taglib, I'm all for it being
> merged into the Extended Taglib. Currently I plan to consider
> replacing the functionality from String Taglib (mostly as EL
> functions), Log Taglib and JNDI Taglib (perhaps).
>
> It sounds like BSF taglib, given it has only the two tags, might be
> very interesting if a dependency on BSF itself can be avoided (ie:
> base it on javax.script).
>   
+1

If you include just the taglib (the JSR-223 to be created), then its
usage would be restricted to Java 6 and up, such that current Java 1.4
and 1.5 installations in the field could not take advantage of it.

To cover Java 1.4 and 1.5 BSF 3.0 got created, which implements the
javax.script specifications. If BSF 3.0 is included then the scripting
support will be available from Java 1.4 on. Starting with Java 6 the
Java 6 javax.script would prevail due to using its own package by
placement of the classes.

---rony




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


Mime
View raw message