This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 6328
    
  15

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nested logic:iterate
 
It's not a secret anymore!