Spring
[Spring] static과 templates
펭귄코기
2022. 10. 31. 21:50
Static
Content들을 두는 곳이다
css 나 js를 두곤 한다
/static 을 이용해서웹에서 호출할 수 도 있다
Templates
스프링이 계속 버전이 올라가면서 view 엔진이 JSP 에서 thymeleaf로 바뀌었다
templates 폴더는 thymeleaf의 파일들을 두는 곳 이다