tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Insonsistent output of Java 5 enums
Date Wed, 13 Oct 2010 19:21:33 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver,

On 10/10/2010 5:29 AM, Oliver Siegmar wrote:
> I'm a bit confused about how differed Java 5 enums are handled in JSPs. I have 
> an enum that has an overridden toString() method.
> 
> My JSP looks like this:
> 
> Output per EL: ${myEnumValue} <br/>
> Output per JSTL: <c:out value="${myEnumValue}"/>
> 
> The output is:
> 
> Output per EL: VALID
> Output per JSTL: valid result, code 0

What do your taglib declarations look like? I've only used the JSTL a
little bit, and I found that when you have the wrong taglib URL, things
don't work properly.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAky2Br0ACgkQ9CaO5/Lv0PDGywCfYzGC04+VnY4wdP5KvXFqUCIk
2GQAoKwcFGmuul4sXCWjBxtJ+Ig72yyD
=pnsq
-----END PGP SIGNATURE-----

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


Mime
View raw message