This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Iterate List on jsp (struts)" Watch "Iterate List on jsp (struts)" New topic
Author

Iterate List on jsp (struts)

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1273

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 properly..am i using an incorrect logic or how can i do it please help me out

list mylist contain
-fldcode
-fldvalue
-id ......id contains
--messageid
--type

want to iterate
fldcode
fldvalue
id.messageid


thanks in advance
kaustubh


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

Joined: Aug 20, 2010
Posts: 23
Hi,







Regards,
Sriram
 
GeeCON Prague 2014
 
subject: Iterate List on jsp (struts)