File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 1281

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

I agree. Here's the link:
subject: Iterate List on jsp (struts)