目录 2、模板引擎-Thymeleaf
1、thymeleaf简介
2、基本语法
3、设置属性值-th:attr
4、迭代
5、条件运算
6、属性优先级
3、thymeleaf使用 2、模板引擎-Thymeleaf
1、thymeleaf简介
Thymeleaf is a modern server-side Java template engine for both web and standal…
什么是Thymeleaf?
Thymeleaf 是一款用于渲染 XML/XHTML/HTML5 内容的模板引擎。 Thymeleaf is a modern server-side Java template engine for both web and standalone environments. 官方文档 使用
Maven依赖
<!--thymeleaf启动器-->
<dependency>…