摘要: varStatus封装了当前遍历的状态,可以从该对象上查看是遍历到了第几个元素举例如下 <c:forEach items="${cs}" var="c" varStatus="st"> <c:if test="${st.count>=5 and st.count<=8}"> <span> <a hr 阅读全文
posted @ 2019-12-01 15:26 小神龙1258 阅读(411) 评论(0) 推荐(0) 编辑