/ Published in: Java

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<c:forEach items="${list}" var="item" varStatus="status"> <c:out value="item"/> <c:out value="${status.index}"/> <c:out value="${status.count}"/> <c:out value="${status.first}"/> <c:out value="${status.last}"/><br/> </c:forEach>
URL: http://download.oracle.com/javaee/5/jstl/1.1/docs/tlddocs/c/forEach.html
Comments
