This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes Nested Iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nested Iterate" Watch "Nested Iterate" New topic

Nested Iterate

Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 237
Hi Folks,

How can i get i nested iterate since the tag don�t support it.
I would like something like

<logic:iterate id="element1" name="myCollection">
<logic:iterate id="element2" name="myOtherCollection">
//my code

SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
u should be create Custome Tag for your iteration or u can use JSTL but JSTL syntax not like your requirement ...

Java Developer, Thailand
Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 237
It is a very common necessity. It should be handled by strtu�s tag.
Thx for your help
Rick Nendza

Joined: May 16, 2004
Posts: 5
try the struts nested taglibs. (struts-nested.tld)

Also see
I agree. Here's the link:
subject: Nested Iterate
It's not a secret anymore!