개요

forEach

<c:forEach var="item" items="${list}" begin=0 end=2 varStatus="status"> // 0 ~ 2 반복
	<p>${status.count} : ${status.index} : ${status.current}</p>
</c:forEach>

실행 결과:
1 : 0 : 홍길동
2 : 1 : 김철수
3 : 2 : 박영희