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>
- Re: [OT] Getting a Collection's size in JSTL David Graham
- Re: [OT] Getting a Collection's size in JSTL Craig R. McClanahan
- RE: [OT] Getting a Collection's size in JSTL Karr, David
- RE: [OT] Getting a Collection's size in JSTL David Graham
- RE: [OT] Getting a Collection's size in JSTL Karr, David
- Re: [OT] Getting a Collection's size in JSTL David Graham
- Re: [OT] Getting a Collection's size in JSTL David Graham
- Re: [OT] Getting a Collection's size in JSTL Kris Schneider
- Re: [OT] Getting a Collection's size in JSTL David Graham
- RE: [OT] Getting a Collection's size in JSTL Kevin A. Smith
- RE: [OT] Getting a Collection's size in JSTL David Graham