Spring
Spring Boot | ViewResolver | Spring Boot DevTools | 관리자 페이지 컨트롤러 나누기 | 타일즈(Tiles) 레이아웃 만들기, 패턴사용 | 레이아웃 참고
ViewResolver String타입의 뷰 이름으로부터 실제로 사용할 뷰 객체를 결정해준다. resourceViewResolver : controller가 리턴한 뷰 이름을 기반으로 Controller처리 결과를 생성할 뷰를 결정 NoticeControllerr.jsp package com.webstore.web.controller.customer; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller//뷰페이지를 설정하기 위한 컨트롤러 @RequestMapping("/..
2021. 2. 19. 14:35