Sorry for the OT post but the java forum was unresponsive. How do you get the size of a collection class in the JSTL EL?

You can do it with jsp expressions like:
<%= collection.size() %>

but I want to do something like

<c:if test="${collection.size > 0}">

I've tried every variation on that syntax that I could think of.

Thanks,
David





_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to