struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Busschots <bart-li...@so-4pt.net>
Subject Re: Some JSP Taglib help needed
Date Tue, 01 Aug 2006 16:43:21 GMT
I can't see how to use the foreach tag in my case. I have no collection 
to loop through, just a number of times I need to loop and I need to 
access this "counter" within my loop. I immediately thought of the 
c:foreach and logic:iterate tags but can't see how to make them work in 
this case.

Bart.

Al Eridani wrote:
> On 8/1/06, Bart Busschots <bart-lists@so-4pt.net> wrote:
>
>> I have a number stored in a bean which I can get at just fine (tested
>> with bean:write).
>>
>> What I need to do is loop from 1 to that number and print a text area
>> for each element in that range.
>
> <c:forEach>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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


Mime
View raw message