This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes iterator in struts 2 using nested ArrayList Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "iterator in struts 2 using nested ArrayList" Watch "iterator in struts 2 using nested ArrayList" New topic
Author

iterator in struts 2 using nested ArrayList

kiran chirravuru
Greenhorn

Joined: Nov 25, 2009
Posts: 26
Hello All
I am having ArrayList which contains another ArrayList which contains object of the a particular user class . Now how to iterate this List
using struts 2 <s:iterator> tag. I am able to iterate snormal arraylist.

Kindly help me

Regards
Kiran
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Just nest them; what specific problem are you having?
 
Don't get me started about those stupid light bulbs.
 
subject: iterator in struts 2 using nested ArrayList