Skip to main content

Thymeleaf Configuration

Learn Thymeleaf Configuration (Spring MVC + Thymeleaf, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes Spring Boot auto-configures Thymeleaf when spring-boot-starter-thymeleaf is on the classpath: no XML or manual beans are needed for a normal app. Defaults : templates live in src/main/resources/templates , use the .html suffix and are read as UTF-8. Properties : tune it with spring.thymeleaf.* , for example spring.thymeleaf.cache=false while developing.

More lessons in Spring MVC + Thymeleaf