This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Nested logic:iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nested logic:iterate" Watch "Nested logic:iterate" New topic
Author

Nested logic:iterate

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hello,
Is it possible in struts to create a nested logic:iterate. I have HashMap which further contains HashMap. Is it possible using <logic:iterate> tag to iterate inner HashMap as well?
Thanks


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4445
    
    5

Yes, it is. In the inner iterate, the name attribute would be the id attribute of the outer iterate.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Nested logic:iterate
 
Similar Threads
how to use logic:iterate for ArrayLists withing Collection
Nested form in JSTL
Iterate a String array in Struts
Nested JTables
Nested HashMap in logic:iterate