aspose file tools*
The moose likes Struts and the fly likes Need Help with loops Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need Help with loops" Watch "Need Help with loops" New topic
Author

Need Help with loops

Preetish Madalia
Ranch Hand

Joined: Dec 12, 2007
Posts: 37
Hi,
I need to create a for loop in struts using logic:iterate for

for(int i=0; i< maxVal ;i++){

}

maxVal is also an int.

How to do this??
Thanks in advance.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Sorry, the logic:iterate tag won't do this type of loop. I'd suggest you use the c:forEach tag instead.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help with loops