This is a JSTL question. Use JSTL 1.1 like this:
<c:out value="${fn:length(collectionName)}" />
[EMAIL PROTECTED] wrote on 07/31/2004 05:39:25 AM:
> How do I output the size of a collection whilst NOT in a loop ?
>
> I've tried all the
>
> <c:out value="collectionName.size" />
> <c:out value="collectionName.length" />
>
> variations I can think of but it doesn't seem to work.
>
> Do I have to use a loop-structure to get at the size ? or do I have to bind
> the collection to a page-variable before I can get the size ? Or is there a
> syntax for getting it directly ?
>
> The variable I'm trying to access is in session-scope
>
> /Linus Nikander
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> displaytag-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>

