摘要: 1、引入thymeleaf; 2、Thymeleaf使用 只要我们把HTML页面放在classpath:/templates/,thymeleaf就能自动渲染; 使用: 1、导入thymeleaf的名称空间 2、使用thymeleaf语法; 3、语法规则 1)、th:text;改变当前元素里面的文本 阅读全文
posted @ 2019-06-22 17:53 一个坚果 阅读(476) 评论(0) 推荐(0) 编辑