• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

nested iterator using List and Map in struts2

 
kiran chirravuru
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic