File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Collection in logic iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Collection in logic iterate" Watch "Collection in logic iterate" New topic

Collection in logic iterate

Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
Hi, what kind of Collection do you use with logic iterate?
I've tried a Vector and it doesn't work.
Pankaj Narang
Ranch Hand

Joined: Jun 07, 2004
Posts: 81
hi flecha

Logic:iterate only works on collection objects other than string , i mean the collection of objects which have properties defined in them(setter and getter method in them) because you can only use bean:write tag to display the values in the collection which requires property tag.

best Regards
Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
I don't understand you, could you please give me an example?
I agree. Here's the link:
subject: Collection in logic iterate
It's not a secret anymore!