目前自己实现的方法: 存入th:with="info=${#httpServletRequest.setAttribute('info',item)}" 取出th:with="info=${#httpServletRequest.getAttribute('info')}" Thymelea的局部变量太难用了,不知道正确的使用方法是什么,希望知道的朋友指点一下。谢谢。
39,084
社区成员
5,548
社区内容
加载中
试试用AI创作助手写篇文章吧