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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
how to insert multiple value in database
instanceOf(.) question
One DIM array ??? continued
Array index out of bounds error
Can't accept parameters from an applet