码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-05-30 15:10:34      阅读:682      评论:0      收藏:0      [点我收藏+]

标签:intercept   denied   加载   data   exec   error   div   remoting   res   

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错误解决方法

标签:intercept   denied   加载   data   exec   error   div   remoting   res   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!