zoukankan      html  css  js  c++  java
  • A request has been denied as a potential CSRF attack错误解决方法

    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">

  • 相关阅读:
    RSA加密系统
    安装homebrew
    go helloworld
    下载文件checksum
    6月3日
    6月1日
    5月30日
    5月28日
    5月26日
    5月24日
  • 原文地址:https://www.cnblogs.com/ligao/p/9110798.html
Copyright © 2011-2022 走看看