aspose file tools*
The moose likes Spring and the fly likes Spring adding nested ArrayList entries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring adding nested ArrayList entries" Watch "Spring adding nested ArrayList entries" New topic
Author

Spring adding nested ArrayList entries

Ganesh Gowtham
Ranch Hand

Joined: Mar 30, 2005
Posts: 225



I would like to add all entries of list2 to list , so that when i iterate the "list" in java i will get all entries ( coolman,coolman two)

may i know how to achieve the same ?

Thanks in advance


Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1680
    
    7

Take a look at the section entitled collection merging in the reference documentation here:
http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/beans.html#beans-collection-elements


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring adding nested ArrayList entries