This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes nested iterator using List and Map in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "nested iterator using List and Map in struts2" Watch "nested iterator using List and Map in struts2" New topic
Author

nested iterator using List and Map in struts2

kiran chirravuru
Greenhorn

Joined: Nov 25, 2009
Posts: 26
Hi
I am having two nested iterators on is iterating using list and the other using map. The list contains all the ids and map contain
the id and value pair. So how get the value for the particular id using thes iterator . The following is the code

<s:iterator var="item" value="lstparentIds">
<s:iterator var="item" value="childmap">
<s:property />
</s:iterator>
</s:iterator>

Regards
Kiran
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: nested iterator using List and Map in struts2
 
It's not a secret anymore!