iterating and displaying ArrayList in <Logic:iterate>
Posted on 2004-10-17
I need a solution for the following problem
<bean:define id="result1" name="resultsetform" property="rowResults"/>
<logic:iterate id="resultid1" name="result1">
I have stored the resultsetform in session
rowResults(gettermethod) is a bean which will return me ArrayList with values populated.
Please don't bother about ArrayList values getting populated.
I want to display the contents of the ArrayList in the following order,
depending on the total size of the ArrayList
right now it displays as
The offset will be specified in the runtime. In the above scenario the offset is 5.
But in my program i will get the offset as a parameter.
I wanted to implement this in struts(no scriplets or for loop).
Thanks in advance.,