Nop. Neither way works. <s:iterate value="pageCount"> <s:property /> </s:iterate>
This has a single iteration, and the value outputted is the value of the variable (10 for example). The <c:forEach> jstl tag, as well as all other jstl tags, is not allowed in struts 2.0.11, afaik. On Feb 1, 2008 12:24 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Filipe David Manana <[EMAIL PROTECTED]> wrote: > > Is there any way to iterate over an integer range with the <s:iterate/> > > tag? I have an integer property (pageCount) in my action and I want to > > print all the integer values between 1 and this property in my JSP. > > Not that I'm aware of; easier to use <c:forEach.../> IMO. > > Dave > > -- Filipe David Manana, [EMAIL PROTECTED] Obvious facts are like secrets to those not trained to see them. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]