If the underlying implementation is ordered then the 9-character JSP trick would probably work. The solution is left as an exercise for the reader.
Dave --- On Wed, 8/27/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: [OT] Re: [S2] Iterate through two lists > To: user@struts.apache.org > Date: Wednesday, August 27, 2008, 4:50 PM > I'm using TreeSet and my set objects are implementing > Comparable interface, > so they are ordered, aren't they ? Altough, I know that > Set doesn't have > get(index) method. > O.K. I'll switch to List. Thx. > > -- > Milan > > > newton.dave wrote: > > > > --- On Wed, 8/27/08, Milan Milanovic wrote: > >> I don't understand this, what are you saying > that I > >> cannot use Set in jsp in this way ? > > > > What would it mean to get the nth index of a set??? > Sets are unordered. > > > > Dave > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/-S2--Iterate-through-two-lists-tp19052842p19189459.html > Sent from the Struts - User mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]