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} <br/>
Output per JSTL: <c:out value="${myEnumValue}"/>


The output is:

Output per EL: VALID
Output per JSTL: valid result, code 0


The EL output is what I expected (based on section 1.18.2 of the 2.1 JSP-EL 
spec). But I expected the same output per JSTL.

Is this a bug or a feature? :-)


BTW: I'm using Tomcat 6.0.29 and JSTL 1.2.



Best

Oliver

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

Reply via email to