Thymeleaf 语法讲解 命名空间: 需要在html标签中添加该属性 xmlns:th=“http://www.thymeleaf.org” 1 获取作用域数据 <hr> 我是Request: <span th:text="${#request.getAttribute('request