스프링부트 타임리프1 [Java / Spring] - Spring - SpringBoot thymeleaf 개념 및 사용법 Spring - SpringBoot thymeleaf 개념 및 사용법thymeleaf란타임리프는 컨트롤러가 전달하는 데이터를 이용해 동적으로 화면을 만들어주는 역할을 하는 뷰 템플릿 엔진입니다.타임리프의 특징으로서버상에서 동작하지 않아도 HTML 파일의 내용을 바로 확인할 수 있습니다.순수 HTML 구조를 유지합니다.sapplication-properties타임리프를 사용하기 전, 몇가지 설정을 합니다.spring.thymeleaf.prefix=classpath:/template/spring.thymeleaf.suffix=.htmlspring.thymeleaf.cache=falsespring.thymeleaf.check-template-location=truespring.thymeleaf.mode=HTM.. 2024. 9. 27. 이전 1 다음