A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Iterate over an arraylist of beans ?
Joined: Jan 13, 2009
Feb 21, 2010 04:08:28
receives an array list of beans from an action.
I want to print the individual properties of beans in my JSP one per line. How can i do it ?
My arraylist is a list of persons.
IN my jsp i want to print the person name and its other properties one per line.
Joined: Aug 03, 2008
Feb 21, 2010 05:51:13
Did you try anything yet?? Look at the
tag (if you are using
2.x) and try to figure out how to achieve what you want...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
Joined: Sep 29, 2008
Feb 21, 2010 08:33:56
I agree. Here's the link:
subject: Iterate over an arraylist of beans ?
Retrieving List from DB and setting to JSP in struts 2
Help In displaying properties of objects contained in ArrayList
Proper EL Syntax
How to get data from pageContext
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015