jstl 标签 循环 序号



大家好:

今天搜了一天。最终找到它了,尽管不是我想要的,可是为了我辛苦的一天。我也要记录下:

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

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

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

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

     ${xh.first}第一个序号

</cforEach>

原文地址:https://www.cnblogs.com/jzssuanfa/p/6888093.html