SpringBoot2.0 集成thymeleaf
Thymeleaf介绍(1)什么是模板技术?由模板引擎将数据与模板页面合在一起,形成页面(2)什么是thymeleaf?SpringBoot并不推荐使用jsp,但是支持一些模板引擎技术,如:Freemarker,Thymeleaf,Mustache(3)为什么选择Thymeleaf可以完全替代jsp(4)有什么特点》动静结合,直接访问或者通过服务器访问浏览器解释 html 时会忽略未定义的标签属性,所以 thymeleaf 的模板可以静态地运行当有数据返回到页面时,Thymeleaf
原创
2020-12-14 16:53:31 ·
137 阅读 ·
1 评论