wood burning stoves 2.0*
The moose likes Struts and the fly likes s:iterator problem... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "s:iterator problem..." Watch "s:iterator problem..." New topic
Author

s:iterator problem...

Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
I have 5 ArrayLists and I want to populate the values of arraylist in rows of 5 column table depending on size of AL

This is the code...



I want to print the 1st values of 5 AL in 1st row,2nd value of 5 AL in 2nd row and so on...

However the above code is a hash

what should be the correction?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

I cannot understand your code, but if you want to iterate over 5 lists simultaneously, then you can do it like this


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
 
subject: s:iterator problem...
 
Similar Threads
RadioButton with List Struts 2
Label key value in struts2
struts-2 iterator issue...
selecting a row in s:iterator
struts 2 example to have a link in one of the Iterated value in the JSP and pass it to an action