Re: iterating over multiple Collections in one loop with JSTL

2006-05-25 Thread David Evans
${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

RE: iterating over multiple Collections in one loop with JSTL

2006-05-25 Thread Samere, Adam J
How about creating a single list with an object to encapsulate the values from list1 and list2 in a single entity? Public class MyClassContainer { private MyClass1 my1; private MyClass2 my2; ... } List = ... myClassContainerList.add(new MyClassContainer(myClass1, myClas