February 2019
Intermediate to advanced
442 pages
11h 46m
English
For our blogging application, we will use the Thymeleaf HTML template. The very first step for working with Thymeleaf is to instruct Spring Boot so that it can make all the necessary configurations specific to Thymeleaf readily available for our application. Add the following entry in pom.xml:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-Thymeleaf </artifactId></dependency>
Thymeleaf provides certain tags (a kind of JSP tags) to embed dynamic values into the template. We will first go through the bare minimum tags that we intend to use in our Blogpress application. The mechanism of inserting a dynamic value into the Thymeleaf template is different than what you might have seen ...