You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andreas Leitner <al...@macron.at> on 2001/07/27 16:30:41 UTC

iterate over two containers in paralell

Is it possible to use iterate to iterate over two containers in
paralell?
 
while (it1.hasNext () && it2.hasNext)
{
    System.out.println (it1.next ();
    System.out.println (it2.next ();
}
 
But just with the <logic:iterator> tag.
 
 
many thanks in advance,
Andreas