标签: thymeleaf
如何使用thymeleaf th:xx来实现JSTL代码:<c:forEach begin="1" end="12" var="item"> </c:forEach>
<c:forEach begin="1" end="12" var="item"> </c:forEach>
答案 0 :(得分:0)
<th:block th:each="item: ${#numbers.sequence(1, 12)}"> </th:block>