You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "Chen, Gin" <Gi...@NielsenMedia.com> on 2003/06/30 20:17:14 UTC
JSTL and java.util.Set
Is there a way to check if a value is in a java.util.Set?
I know for a Map I can do:
<c:choose>
<c:when test="${myMap.map.foo ne null}">
<c:out value="${myMap.map.foo}"/>
</c:when>
<c:otherwise>
blahblah
</c:otherwise>
</c:choose>
but how do I do this for a Set? (as in Set.contains("foo"))
Thanks,
-Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org