EL排序序号问题

记录一下,可能以后会用到

<c:forEach items="${list}" var="begin" varStatus="num">
       ${num.count}序号从1开始
      ${num.index}序号从0开始
      ${num.last}最后一个序号
     ${num.first}第一个序号
</cforEach> 

猜你喜欢

转载自blog.csdn.net/qq_44739706/article/details/109437226