File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nested logic:iterate" Watch "Nested logic:iterate" New topic

Nested logic:iterate

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
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?

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

Joined: Feb 26, 2001
Posts: 6529

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:
subject: Nested logic:iterate
It's not a secret anymore!