Re: Insonsistent output of Java 5 enums

2010-10-14 Thread Oliver Siegmar
Hi Chris, On Wednesday 13 October 2010 21:21:33 Christopher Schultz wrote: > 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. This is how I use JSTL core: <%...@taglib prefix="c"

Re: Insonsistent output of Java 5 enums

2010-10-13 Thread Christopher Schultz
-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: ${myEnumValu

Insonsistent output of Java 5 enums

2010-10-10 Thread Oliver Siegmar
Hallo all, 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} Output per JSTL: The output is: Output per EL: VALID Output per JSTL: valid result, code 0 The