The Source for Java Technology Collaboration
User: Password:



Felipe Leme

Felipe Leme's Blog

JSTL 1.1 RI is out

Posted by felipeal on January 30, 2004 at 01:53 PM | Comments (3)

Jakarta Standard Taglib is the Reference Implementation (RI) for the JSTL specification (JSR 52).

JSTL 1.1 reached it's final specification a couple of months ago (as I reported here), so now it's time for an official RI release.

Most of the JSTL 1.1 work has been done prior to 1.1.0-beta1 - this release just fixed a couple of bugs. So, the previous release was stable, but it couldn't be called "official" as the spec was not final yet (that's the same reason why Tomcat 5 was still in beta, even after many 5.0.x releases).

We also released Standard 1.0.5, which has the same bugs fixed for 1.1.0 ported to the JSTL 1.0 trunk (a list of all bugs fixed can be found in the Release Notes.

Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • nasty bug
    The EL parser still has a serious bug when interpreting "eq", "gt" etc. This should be listed in the release notes as well.

    see http://issues.apache.org/bugzilla/show_bug.cgi?id=22442

    Posted by: yannc76 on January 31, 2004 at 05:42 AM

  • Not a JSTL EL bug
    That bug seems to be related to Jakarta Commons EL, which is a component that provides EL support to any Java class. JSTL 1.0 uses its own EL implementation and JSTL 1.1 uses the EL from the JSP 2.0 container.

    I tested the code below on Tomcat 4.0.29/JSTL 1.0.5 and Tomcat 5.0.16/JSTL 1.1.0 and it worked on both:

    JSP:

    7 + 5 =
    (3 + 4) + 5 =
    7 + (2 + 3) =
    7 div 5 =
    (3 + 4) div 5 =
    7 div (2 + 3) =
    7 div(2 + 3) =

    RESULT:

    7 + 5 = 12
    (3 + 4) + 5 = 12
    7 + (2 + 3) = 12
    7 div 5 = 1.4
    (3 + 4) div 5 = 1.4
    7 div (2 + 3) = 1.4
    7 div(2 + 3) = 1.4


    So, if this is still a bug, it's not on JSTL/JSP EL, only on Commons EL (I didn't test on that component though, as I don't have it installed).

    Posted by: felipeal on January 31, 2004 at 01:33 PM

  • Commons EL
    PS: I figured it out that Tomcat 5 uses commons-EL (JSTL 1.0 doesn't). So, the bug must be fixed by now, I guess (I put an update on that page, anyway...)

    Posted by: felipeal on January 31, 2004 at 01:51 PM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds