A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
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 Struts 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 ?
Help In displaying properties of objects contained in ArrayList
How to get data from pageContext
Proper EL Syntax
Retrieving List from DB and setting to JSP in struts 2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014