aspose file tools*
The moose likes Struts and the fly likes jsp c:forEach counter ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp c:forEach counter ?" Watch "jsp c:forEach counter ?" New topic
Author

jsp c:forEach counter ?

Javoso Torso
Ranch Hand

Joined: Aug 15, 2003
Posts: 88
Hello,

Has forEach a counter (iterator) implemented, to know in which loop number you are?
So you could do a certain action at a certain loop number?

thanks!


I hate 'trial and error'<br />and I am doing it all the time
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
varStatus is what you're looking for. Here's an article on it.


Matt<br /> <br />Author: <a href="http://springlive.com" target="_blank" rel="nofollow">Spring Live</a> and <a href="http://www.apress.com/book/bookDisplay.html?bID=256" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="http://raibledesigns.com" target="_blank" rel="nofollow">Raible Designs</a> <a href="http://jroller.com/page/raible" target="_blank" rel="nofollow">Spring Live Blog</a>
Javoso Torso
Ranch Hand

Joined: Aug 15, 2003
Posts: 88
You are right Matt, that was it was I was looking for

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp c:forEach counter ?
 
Similar Threads
Assignment 1B - counters
loops
Need help with Prime number Loop and with boolean statement
A Programming Interview Question
BufferedReader contents into Array