在Spring3.1中,使用选项ignoreDefaultModelOnRedirect禁用自动向重定向添加模型属性:
<mvc:annotation-driven ignoreDefaultModelonRedirect="true" />
上一篇 Spring Security 401未经许可甚至未经许可
下一篇 删除POST请求中的Transfer-Encoding:chunked?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号