A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Need to Iterate over a list of Objects
Joined: Feb 23, 2008
Jun 05, 2009 13:25:34
My first post
Does any one of you know how to iterate over a list of objects in
I have a Form: mfrForm
"mfrForm" has a list: industryList
"industryList" is a list of objects "industries"
industries class has
I want to iterate and be able to print all the indName in JSP
So please help me!!!
Thank you soo much in Advance
Joined: Sep 10, 2008
Jun 05, 2009 19:19:26
This should be really helpful -->
Struts Tag Library
and you should be looking at logic:iterate tag.
This example might help
<logic:iterate id="yourId" name="yourList">
<td><bean:write name="yourId" property="indName" /></td>
let me know...
I agree. Here's the link:
subject: Need to Iterate over a list of Objects
Display of hashmap values using jstl
Has A relationship
Create a Form with iterating rows, with the same data
Collections.sort() does not sort my ArrayList
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013