File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Iteration EL tags

 
muthulingam Jayakanthan
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the menaing of "loop status object" of a loop in the JSTL - EL.
please someone help?
 
alzamabar
Ranch Hand
Posts: 379
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic