struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Help: JSP and Java 5 enum
Date Fri, 06 Apr 2007 04:18:41 GMT
Has anyone ever compared or iterated a Java 5 enum in JSP?  I want do 
the following:
<c:if test="${obj.enumProperty == enum}">

I don't mind comparing ordinals too, but I must be able to do a comparison.

Thanks!
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message