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
posted
0
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.