RE: Iterating 2 Lists in parallel

2004-03-30 Thread Avinash Gangadharan
TECTED] Sent: Tuesday, March 30, 2004 2:55 PM To: Struts Users Mailing List Subject: Re: Iterating 2 Lists in parallel you could use indexId of logic:iterate and replace <%=name%> with <%=names.get(indexId.intValue())%>. this would save you creating the iterator and doing .next(). a

Re: Iterating 2 Lists in parallel

2004-03-30 Thread Jayson Falkner
You could always up the two strings in to a single Map class or a JavaBean of sorts. You'd then just iterate through one list, the list of Map objects. Jayson Falkner [EMAIL PROTECTED] On Tue, 2004-03-30 at 17:54, Paul Stanton wrote: > you could use indexId of logic:iterate and replace <%=name%>

Re: Iterating 2 Lists in parallel

2004-03-30 Thread Paul Stanton
you could use indexId of logic:iterate and replace <%=name%> with <%=names.get(indexId.intValue())%>. this would save you creating the iterator and doing .next(). a little saved, but i don't think theres a tag to do this. Avinash Gangadharan wrote: I have 2 lists of Strings. How can I have 2 i