I must use struts iterator and use struts variables with iterator index
variables.
Like this
from 1 to 20" >
" selected="SELECTED">
nuwan chandrasoma-2 wrote:
>
> Hi,
>
> why dont you use JSTL
>
>
>
>
>
> Thanks,
> Nuwan
>
> Igor Vlasov wrote:
>> In documentation thre is an example:
>>
>> <s:iterator status="stat" value="{1,2,3,4,5}" >
>> <!-- grab the index (start with 0 ... ) -->
>> <s:property value="#stat.index" />
>>
>> <!-- grab the top of the stack which should be the -->
>> <!-- current iteration value (0, 1, ... 5) -->
>> <s:property value="top" />
>>
>>
>> How to make a simple loop from 1 to 20 ?
>>
>> Solution like
>> <s:iterator status="stat" value="{1,2,3,4,...,20}" >
>> </s:iterator>
>> do not apply!.
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/-S2---Simple-loop-1..20-with-with-iterator-tag--tf4606147.html#a13153741
Sent from the Struts - User mailing list archive at Nabble.com.