users@glassfish.java.net

Re: JSTL diferences in GlassFish V3

From: <glassfish_at_javadesktop.org>
Date: Mon, 30 Aug 2010 12:01:03 PDT

Thanks for the helpful information. I prefer not to use JSTL but didn't think there were equivalents of c:if, c:choose and c:set. When I look at the way I use these, I could probably use h:panelGroup with the rendered attribute to achieve the same thing.

When I first ran my application on GlassFish V3, anywhere there was a c:if or c:choose, all of the content was rendered as if the JSTL tags were not executed. That's when I discovered the new namespace.

Thanks,
Ryan


> The uri http://java.sun.com/jstl/core was used in
> jstl 1.0 and the uri
> http://java.sun.com/jsp/jstl/core was used in jstl
> 1.1. All releases of jstl, (including v3) still
> recognize the 1.0 uri for backward compatibility. So
> I am puzzled to learn that it works for you in v2.1,
> but not in v3, especially since there have been no
> changes in JSTL, from v2 to v3!
>
> The new URI was introduce to jstl 1.1 because EL
> (expression language) was moved from JSTL to JSP. I
> think it is the correct thing t NOT to use something
> as yesterday as jstl 1.0, which is least 5 or 7 years
> old!
>
> I'll let others answer your remainding issues. :-)
[Message sent by forum member 'rdelaplante']

http://forums.java.net/jive/thread.jspa?messageID=481291