중첩된 c:forEach문에서 같은 index 사용하는 법
<c:forEach var="first" items="${firstList}" varStatus="status">
<c:forEach var="sec" items="${secondList[status.index]}" >
</c:forEach>
</c:forEach>
'JSP' 카테고리의 다른 글
23.02.28 검색 값 유지, 상세 조회, 수정 (0) | 2023.03.01 |
---|---|
23.02.28 input type="file" 커스터마이징 하는 방법 (0) | 2023.03.01 |
23.01.14 jsp 템플릿 등록 (0) | 2023.02.11 |
23.02.06 getRequestDispatcher, forward (0) | 2023.02.06 |
23.02.06 <script>문 내에서의 ${}파라미터 값 불러와 페이지 이동 (0) | 2023.02.06 |