aspose file tools*
The moose likes Struts and the fly likes [Struts] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "[Struts] "for loop" with logic iterate" Watch "[Struts] "for loop" with logic iterate" New topic
Author

[Struts] "for loop" with logic iterate

Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
Hi all. I'm trying to do a for loop in a JSP using logic taglib from Struts.
Can anyone help me??
Thanks a lot
Regards from Spain
Pankaj Narang
Ranch Hand

Joined: Jun 07, 2004
Posts: 81
hi felucha

What help you wanted in using the logic iterate ?Specify the help you want

Best Regards
Pankaj
Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
I have a String, and depending on the value of all the characters of the String ('1' or '0') I want to generate a different menu.
Thanks
Pankaj Narang
Ranch Hand

Joined: Jun 07, 2004
Posts: 81
hi flecha

i didnt get the situation plz. be more clear, but let me tell you onething you can use logic iterate only onthe list or collection type of objects, i mean like arraylist, vector etc. which contains a list of objects.

You plz. clear your situation

Best Regards
Pankaj
Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
Ahhh... I don't have a collection, this is different.
I'll do it in another way
Thanks a lot
Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
Now I have a different problem that I think can be solved using logic iterate.

I have a collection named "registros" whose type is "IbtRegistros" and I want to print the property email (registros.email) for every element of the collection.

What's the way to do it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Struts] "for loop" with logic iterate