${list1Item}
${list2[status.index]}
the status variable is an instance of LoopTagStatus, which has an index
property that is set by the forEach loop.
I might favor combining the two lists (in your action) into a single
list, each element of which has a list that holds the two items from t
, myClass2));
Then in the JSP you only need one loop.
...
Adam
-Original Message-
From: Pat Slater [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 11:28 AM
To: user@struts.apache.org
Subject: iterating over multiple Collections in one loop with JSTL
Hi,
Is
Hi,
Is it possible to do with JSTL something like this:
(Note: size of list1 and list2 are equal)
List list1 = getList1();
List list2 = getList2();
for(int i=0; i
3 matches
Mail list logo