aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Iteration EL tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Iteration EL tags" Watch "Iteration EL tags" New topic
Author

Iteration EL tags

muthulingam Jayakanthan
Ranch Hand

Joined: Feb 27, 2005
Posts: 43
what is the menaing of "loop status object" of a loop in the JSTL - EL.
please someone help?
alzamabar
Ranch Hand

Joined: Jul 24, 2002
Posts: 379
Originally posted by muthulingam Jayakanthan:
what is the menaing of "loop status object" of a loop in the JSTL - EL.
please someone help?


With <c:forEach> you could assign the loop status to a variable of tag scope through the 'varStatus' attribute. The varStatus object contains some properties which can be queried from inside the loop, like if this is the first/last iteration, or the index or count of the element being evaluated in the current iteration.


Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iteration EL tags