File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes nested iterator using List and Map in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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 agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: nested iterator using List and Map in struts2
 
Similar Threads
Sticky nested lists problem in Struts 2
Problem in retrieving List from class and displaying it in JSP in struts2
Displaying the fields in an order
Iterating over HaspMap<String,List<Object>> and comparing values.
Struts2 - <s:iterator> in two-Dimensional Array.