thymeleaf th:href 多个参数传递格式
时间:2018-01-29 15:55:38
收藏:0
阅读:1974
今天在使用thymeleaf的th:href传递多个参数的时候困惑了。然后百度了一下,发现没有人注释说明怎么弄,然后自己google了一下,现在就标记一下,方便记录一下。
th:href="@{/Controller/behavior(param1=1,param2=${person.id})}"。就是使用逗号隔开多个参数!!!
评论(0)