• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Nested loops

 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jibitesh Prasad
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic