• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Iterate List on jsp (struts)

 
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,







Regards,
Sriram
 
They weren't very bright, but they were very, very big. Ad contrast:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic