thymeleaf th:href 多个参数传递格式

今天在使用thymeleaf的th:href传递多个参数的时候困惑了。然后百度了一下,发现没有人注释说明怎么弄,然后自己google了一下,现在就标记一下,方便记录一下。

                th:href="@{/Controller/behavior(param1=1,param2=${person.id})}"。就是使用逗号隔开多个参数!!!

猜你喜欢

转载自blog.csdn.net/zhangdongnihao/article/details/81915224