JSTL 递增序号

<c:forEach items="${signBusList}" var="sign" varStatus="xh"> 

       ${xh.count}序号从1开始 

      ${xh.index}序号从0开始 

      ${xh.last}最后一个序号 

     ${xh.first}第一个序号 

</cforEach> 

原文地址:https://www.cnblogs.com/zhouheblog/p/10167011.html