表单提交 th:action <form th:action="@{/test/hello}" > <input th:type="text" th:name="id"> <button>提交</button> </form> 对象遍历 th:each // user对象属性 Integer id; String name; String address; model.addAttribute("users",userList); <table> <tr> <td>下标</td> <td>编号</td> <<