首页 > 其他 > 详细

A request has been denied as a potential CSRF attack错误解决方法

时间:2018-05-30 14:53:29      阅读:623      评论:0      收藏:0      [点我收藏+]
2018-05-30 13:40:50 [http-nio-8081-exec-3] [ERROR] com.opensymphony.xwork2.interceptor.ParametersInterceptor -Developer Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting ‘id‘ on ‘class com.huoq.admin.login.action.LoginBackgroundAction: Error setting expression ‘id‘ with value [‘2‘, ]
2018-05-30 13:40:51 [http-nio-8081-exec-2] [INFO ] com.huoq.admin.product.action.DataOverViewAction -加载数据 loadDataOverView com.huoq.admin.message.DataOverView@36bec9f7
2018-05-30 13:40:51 [http-nio-8081-exec-4] [ERROR] org.directwebremoting.dwrp.BaseCallMarshaller -A request has been denied as a potential CSRF attack.

 

修改 tomcat下context.xml修改为false

<Context useHttpOnly="false">

A request has been denied as a potential CSRF attack错误解决方法

原文:https://www.cnblogs.com/ligao/p/9110798.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!