Hi,

why dont you use JSTL

<c:forEach begin="0" end="100" var="token">
<c:out value="${token}"/>
</c:forEach>

Thanks,
Nuwan

Igor Vlasov wrote:
In documentation thre is an example:

&lt;s:iterator status="stat" value="{1,2,3,4,5}" >
   &lt;!-- grab the index (start with 0 ... ) -->
   &lt;s:property value="#stat.index" />

   &lt;!-- grab the top of the stack which should be the -->
   &lt;!-- current iteration value (0, 1, ... 5) -->
   &lt;s:property value="top" />
</s:iterator>

How to make  a  simple loop from 1 to 20 ?

Solution like &lt;s:iterator status="stat" value="{1,2,3,4,...,20}" >
&lt;/s:iterator>
do not apply!.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to