This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes Iterate List on jsp (struts) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Iterate List on jsp (struts)" Watch "Iterate List on jsp (struts)" New topic

Iterate List on jsp (struts)

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1283

Hi I am Iterating an arraylist on my jsp and the framework I am using is struts 1.2

the list contains three properties fldcode,fldvalue and id...

and again in id i have 2 values say messageid and type

now the logic i am using to iterate the list is shown below

in the above code I am getting the values from fldcode and fldvalue...but the id that contains messageid is also suppose to view here but i am not able to get it. here i am using logic:iterator and in that to iterate messageid again i am using it again..but not getting it i using an incorrect logic or how can i do it please help me out

list mylist contain
-id contains

want to iterate

thanks in advance

No Kaustubh No Fun, Know Kaustubh Know Fun..
Sriram Ture

Joined: Aug 20, 2010
Posts: 23

subject: Iterate List on jsp (struts)
It's not a secret anymore!