File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
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...
It is sorta covered in the
JavaRanch Style Guide
subject: Need to Iterate over a list of Objects
Display of hashmap values using jstl
Has A relationship
Collections.sort() does not sort my ArrayList
Create a Form with iterating rows, with the same data
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015