tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Articles > Servlets > How to get last element of collection in JSTL

How to get last element of collection in JSTL

Author: Venkata Sudhakar

The below example shows how to get last element of collection in JSTL. You may use statusVariable.last to check whether the element being iterated is the last element.


 
  


  
bl  br