Thymeleaf 基本用法

1、引用命名空间 <html xmlns:th="http://www.thymeleaf.org"> html         在html中引入此命名空间,可避免编辑器出现html验证错误,虽然加不加命名空间对Thymeleaf的功能没有任何影响。web 2、输出内容express         2.1  <p th:text="#{home.welcome}">Welcome to our
相关文章
相关标签/搜索