Google News
logo
Java Spring Boot - Interview Questions
Explain what is thymeleaf and how to use thymeleaf?
Thymeleaf is a server-side Java template engine used for web applications. It aims to bring natural template for your web application and can integrate well with Spring Framework and HTML5 Java web applications. To use Thymeleaf, you need to add the following code in the pom.xml file :
 
<dependency>    
  <groupId>org.springframework.boot</groupId>    
  <artifactId>spring-boot-starter-thymeleaf</artifactId>    
</dependency>

 

Advertisement