[JSTL] c:forEach 같은 index 사용하기

hi·2022년 4월 17일
0

중첩된 c:forEach문에서 같은 index 사용하는 법

<c:forEach var="first" items="${firstList}" varStatus="status">
	<c:forEach var="sec" items="${secondList[status.index]}" >
    </c:forEach>
</c:forEach>    

0개의 댓글