A workaround I suggested ages ago can be found here:
 
http://www.mail-archive.com/taglibs-user@;jakarta.apache.org/msg02032.html


>>> [EMAIL PROTECTED] 10/29/02 03:24pm >>>
On Tue, 29 Oct 2002, Mark Goking wrote:

> say if u use paramValuse[''] ??
> 
> like .length in java

Not in JSTL 1.0; we'll consider adding such a JSP 2.0 function to JSTL
1.1.  In the meantime, you can compute a size indirectly with a loop:

  <c:forEach items="${array}" status="s">
    <c:set var="size" value="${s.count}" />
  </c:forEach>

Note that this isn't particularly efficient.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com 


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


Reply via email to