Originally posted by Nestor Alduey: I told you ResultSet for telling whatever Object thinks a result set like something other Kind of object
Sorry, I understand that English is not your first language, but I cannot figure out what you mean by this. A result set is not a proper collection and should not be sent to a JSP.
I want to extract the fields of those objects that are in a collection.
For objects that are implementations of Map, List or a Java array, the <c:forEach> action is easy to use to iterate over the collection. Let's say that we have a scoped variable named theList that we want to iterate over:
The body of the action will be executed once for each list element, with the scoped variable item referring to the current element.
For a list where the members are themselves another list (which is what I think you might be getting at):
You should have a copy of the JSTL Specification handy which describes the JSTL tags in detail. [ January 03, 2008: Message edited by: Bear Bibeault ]