tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Siegmar <oli...@siegmar.org>
Subject Re: Inconsistent output of Java 5 enums
Date Sun, 17 Oct 2010 09:27:35 GMT
Chris,

Am Friday 15 October 2010 schrieb Christopher Schultz:
> > <%@taglib prefix="myLib" uri="http://my-domain.org/customLib"%>
> > 
> > <myLib:customTag value="${myEnum}"/>
> > <myLib:customTag value="foo.${myEnum}.bar"/>
> > 
> > I would expect, that this outputs:
> > 
> > VALID
> > foo.VALID.bar
> > 
> > 
> > The output in catalina.out is very interesting:
> > 
> > VALID
> > foo.VALID result, code 0.bar
> 
> Okay, that might be a bug in Tomcat.
> 
> Weird: I would expect that the JSTL relies on the platform's EL
> implementation to work. So, I don't understand why this works for a bare
> EL expression like ${enum} and not <foo value="${enum}" />

I've created https://issues.apache.org/bugzilla/show_bug.cgi?id=50105


Bye

Oliver

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


Mime
View raw message