Struts2配置result重定向时参数超过2个

xiaoxiao2021-02-28  113

比如<result  name ="update" type="redirectAction" >classroomAction_findAllByPage?page=1&category=1</result>

由于XML会解析&符号,所以会报错。应该换成&,如下

<result  name ="update" type="redirectAction" >classroomAction_findAllByPage?page=1&category=1</result>

转载请注明原文地址: https://www.6miu.com/read-29536.html

最新回复(0)