1. 程式人生 > >jstl 標簽 循環 序號

jstl 標簽 循環 序號

clas item art rst ack tro str status 第一個

??

大家好:

今天搜了一天。最終找到它了,盡管不是我想要的,可是為了我辛苦的一天。我也要記錄下:

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

${xh.count}序號從1開始

${xh.index}序號從0開始

${xh.last}最後一個序號

${xh.first}第一個序號

</cforEach>

jstl 標簽 循環 序號