permaculture playing cards
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "s:iterator problem..." Watch "s:iterator problem..." New topic

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

Joined: Aug 03, 2008
Posts: 9466

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
I agree. Here's the link:
subject: s:iterator problem...
It's not a secret anymore!