Search⌘ K

What is Thymeleaf?

Explore Thymeleaf's core functions as a server side Java template engine used in Spring Boot. Understand how Thymeleaf processes templates to generate dynamic HTML pages by combining them with Java model objects, supporting the creation of web applications.

We'll cover the following...

Thymeleaf

Thymeleaf is a modern server-side Java template engine. In a Spring Boot application, we can find the templates under /src/main/resources/templates:

C++
|-- mvn
|-- mvnw
|-- mvnw.cmd
|-- pom.xml
|-- src
| |-- main
| | |-- java
| | | `-- com
| | | `-- tamingthymeleaf
| | | `-- application
`-- TamingThymeleafApplication.java
| | `-- resources
`-- application.properties
| | `-- templates
| `-- test
| `-- java
| `-- com
| `-- tamingthymeleaf
| `-- application
`-- TamingThymeleafApplicationTests.java

Thymeleaf ...