Thymeleaf is a template engine used to process various templates in XML, HTML, JavaScript, CSS, and plain TEXT on the server side. You might have a question: why Thymeleaf? We already have JSP. What are the benefits of using Thymeleaf over JSP?
The answer is, Thymeleaf is designed with a natural templating concept and provides a design prototype support without affecting the use of the template. In other words, due to its nature, Thymeleaf can be used by both developers and design teams without being locked-in or having a dependency between either of them.
Another good thing about Thymeleaf is that it is designed in accordance with web standards, mainly HTML5. This will make it easy for you to fully validate the templates if that is required.