앱)스프링부트 공식 지원 템플릿 엔진

Posted by HULIA(휴리아)
2018. 7. 3. 16:21 백엔드개발/스프링부트
@Controller 클래스의 @RequestMapping메소드에서 return 값을 파일명으로 인식하여 resolve하는 구조


1. JSP+JSTL


2. Freemarker
아티팩트ID : spring-boot-starter-freemarker

3. Groovy Templates
아티팩트ID : spring-boot-starter-groovy-templates

4.Thymeleaf
아티팩트ID : spring-boot-starter-thymeleaf

5.Mustache
아티팩트ID : spring-boot-starter-mustache


http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-web-applications.html