Is it possible to display the elements of a list in a list with a foreach in a jsp?
List> elements;
i was thinking som
for(Iterator i = someList.iterator(); i.hasNext(); ) { String item = i.next(); System.out.println(item); }
List implements the Iterable interface, so the above code should work.