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
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%>
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
3 matches
Mail list logo