aspose file tools*
The moose likes Struts and the fly likes Nested loops Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nested loops" Watch "Nested loops" New topic
Author

Nested loops

saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

Hi All,
I want to implement nested loop in Struts please
tell me how can i achieve this by struts tags.

I have a VO called LeadVO which contains a string and
an array of strings.
First i want to iterate over the size of the collection of the VO objects.
Then for each String i want to iterate over the array of strings.

I tried to look into the logic tags i am not able to get that
please help.


Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
Jibitesh Prasad
Greenhorn

Joined: Feb 20, 2007
Posts: 20
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

thanks Jibitesh for the reply.
i think i am missing out something.



acc to this, the property will be the 'the string of arrays'.
It wont work i think.I am getting errors for it.
Please help
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

I am getting this error



My JSP code



the property employeeName is the array String.
please help to put Array of Strings in the correct way in the JSP.

Thanks in advance,
Saurav
 
 
subject: Nested loops