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
相關文章
相關標籤/搜索