One: thymeleaf Study notes---http://www.blogjava.net/bjwulin/articles/395185.html
Thymeleaf is a natural engine that supports HTML prototyping, which adds extra attributes to the HTML tag to show how the template + data is presented, since the browser interprets HTML and ignores undefined label attributes, so the thymeleaf template can run statically.
Since Thymeleaf is parsed in the memory cache, the parsed template is tree-based DOM node trees, so thymeleaf is suitable for general web pages and is not suitable for data-based XML.
Two:
HTML5 template engine Thymeleaf
Http://www.oschina.net/p/thymeleaf
Thymeleaf is a xml/xhtml/html5 template engine that can be used for application development in Web and non-web environments . It is an open source Java library , created by Daniel Fernández, based on the Apache License 2.0 license , and is the author of the Java Cryptographic Library Jasypt.
Thymeleaf provides an optional module for integrating Spring MVC , where you can use Thymeleaf to completely replace JSP, or other template engines such as velocity, freemarker, and so on.
The main goal of Thymeleaf is to provide a well-formed template creation that can be properly displayed by the browser, so it can also be used as a static model.
You can use it to create validated XML and HTML templates. Rather than writing logic or code, developers simply add tag attributes to the template.
Next, these tag properties perform pre-established logic on the DOM (Document Object model).
Introduction to the Thymeleaf template engine