This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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 ]
Joined: Jul 30, 2006
Ok Your understanding me... But Just Wanna Know if I can use one field of that object of that collection
as I said "object.field" I want that object doesn't be a String. And Yes I'm from Dominican Republic and english is not my first language...