th:each 예제 @GetMapping(value = "/ex03") public String thymeleafExample03(Model model){ List itemDtoList = new ArrayList(); for(int i=1;i 현재 순회하고 있는 데이터의 인덱스를 출력합니다. 출처: 스프링부트 쇼핑몰 프로젝트 with JPA Thymeleaf 2022.02.15