![]() ![]() Configure starters (pom.xml)Īdd web and thymeleaf dependency to maven or gradle adle file, There are a lot of templating technology available and are supported by Spring MVC you can and based on your need. You can override ThymeleafViewResolver by providing a bean of the same name. The values of the prefix and suffix default to ‘classpath:/templates/’ and ‘.html’, respectively. If you use Thymeleaf, It looks for resources by surrounding the view name with a prefix and suffix. This tutorial shows how to run a simple spring boot application using Thymeleaf as a templating engine. Spring MVC supports a variety of templating technologies, including Thymeleaf, FreeMarker, and JSP. You can also use Spring MVC to serve dynamic HTML content. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |