Thymeleaf

用法 1.需要在html裏添加< html xmlns:th=「http://www.thymeleaf.org」> 這樣才能正確使用th:*的形式 2.通過${}取值和ONGL表達式一致 3選擇變量表達式*{} 4鏈接表達式@{} 5循環:通過th:each <table> <tr> <th>ID</th> <th>NAME</th
相關文章
相關標籤/搜索