tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Niepraschk <Rolf.Niepras...@ptb.de>
Subject Break a forEach loop
Date Tue, 13 Dec 2005 10:02:02 GMT

Dear friends,

can you tell me if it is possible to break a simple forEach loop
premature. The following doesn't work:

<c:forEach begin="1" end="30" varStatus="status">
  ${status.count}<br>
  <c:if test="${status.count==10}">
    <c:set var="status.count" value="31" />
  </c:if>
</c:forEach>

Thanks in advance,

...Rolf


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


Mime
View raw message