记录一下,可能以后会用到
<c:forEach items="${list}" var="begin" varStatus="num">
${num.count}序号从1开始
${num.index}序号从0开始
${num.last}最后一个序号
${num.first}第一个序号
</cforEach>
记录一下,可能以后会用到
<c:forEach items="${list}" var="begin" varStatus="num">
${num.count}序号从1开始
${num.index}序号从0开始
${num.last}最后一个序号
${num.first}第一个序号
</cforEach>