tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul P Akolkar <akol...@us.ibm.com>
Subject Re: c:forEach & index in looop
Date Wed, 27 Jul 2005 21:38:15 GMT
Marco Mistroni <mmistroni@gmail.com> wrote on 07/27/2005 05:30:17 PM:
> hello all,
>    i am trying to replace struts logic:iterate with  JSTL c:forEach...
> however,  i need what in logic:iterate is the index in the loop
> is it possible to get it from anywhere?
> 

<c:forEach ... varStatus="status" ... >
  ...
  I am in iteration number ${status.count}
  ...
</c:forEach>

-Rahul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message