I have the following code in jsp scriplet
<%
ArrayList statisticsList = something.getStatistics();
Iterator itr1 = statisticsList.iterator();
while (itr1.hasNext())
{
dvo3_a = (VerificationVO) itr1.next();
dvo3_b = (VerificationVO) itr1.next();
dvo3_c = (VerificationVO) itr1.next();
%>
then in the html I am using the three objects dvo3_a, dvo3_b and dvo3_c
while converting this to struts2 tags I've done this
<s:iterator value = "statistics">
...
...
....
</s:iterator>
how can i use the three objects as created above inside this struts2 html
tag? is there a way to get something AFTER the current element, while still
under the iterator tag?
this is that itr1.next() statement does. it moves the cursor one element
next.
Thanks!