Spring boot thymeleaf 적용
1. pom.xml org.springframework.boot spring-boot-starter-thymeleaf 2. application.propertiesspring.thymeleaf.prefix=classpath:templates/spring.thymeleaf.suffix=.html#개발모드에는 false 셋팅spring.thymeleaf.cache=falsespring.thymeleaf.view-names=thymeleaf/*3. Controller @GetMapping("/cors.do") public String cors(Model model) { # /resources/templates/thymeleaf/cors.html을 찾음 return "thymel..
2021.03.31