![v2-9b69676a9b9ef0ba3cf5d23603edf36b_1440w.jpg?source=172ae18b](http://img-02.proxy.5ce.com/view/image?&type=2&guid=712ab200-cd2e-eb11-8da9-e4434bdf6706&url=https://pic1.zhimg.com/v2-9b69676a9b9ef0ba3cf5d23603edf36b_1440w.jpg?source=172ae18b)
Thymeleaf是什么
首先,看一下官网的描述。
Thymeleaf is a modern server-side Java template engine for both web and standalone environments, capable of processing HTML, XML, JavaScript, CSS and even plain text.
简而言之,Thymeleaf是适用于Web和独立环境的现代服务器端Java模板引擎,能够处理HTML,XML,JavaScript,CSS甚至纯文本。
Thymeleaf有何优势
再看一下官网的描述。
The main goal of Thymeleaf is to provide an elegant and highly-maintainable way of creating templates. To achieve this, it builds on the concept of Natural Templates to inject its logic into templat