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 Fri, 15 Oct 2010 16:42:10 GMT
Pid,

Am Friday 15 October 2010 schrieb Pid:
> >> No, because that would call a method getName() which doesn't exist - the
> >> method is named name().
> > 
> > <c:out value="${myEnumValue.getName()}"/>
> 
> I don't think that'll work in 6.0.

That's right.

> > Or, just consistently use EL, since that actually works as you expect.
> 
> +1  '<c:out' seems surplus.

And how do you escape XML characters to entity codes using pure EL?


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