首页 新闻 搜索 专区 学院

token失效,struts报错

0
悬赏园豆:100 [已关闭问题] 关闭于 2014-08-30 16:02

2014-08-28 10:23:13,217 [WARN]-[com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn 56]-Form token IB0P0RVNV7ET24DLJW9M8AC0I91YQMIS does not match the session token L5N7XU4Z34VXQQR85YWHFZKCY0GFOMZU.
2014-08-28 10:23:13,269 [WARN]-[com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn 64]-Could not find action or result: /pmsweb/gray
There is no Action mapped for namespace [/] and action name [gray] associated with context path [/pmsweb]. - [unknown location]
 at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
 at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
 at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)
 at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
 at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:552)
 at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
 at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:619)

问题补充:

重复提交表单时后台报的错误日志,前端错误页面跳转是正确的

骑牛看太阳的主页 骑牛看太阳 | 初学一级 | 园豆:9
提问于:2014-08-28 10:49
< >
分享
所有回答(2)
0

这个提示跟TOKEN没有关系吧? 提示是说找不到对应的action,建议看看 struts.xml、actionName、请求URL有没有写对 

wgz | 园豆:1254 (小虾三级) | 2014-08-28 15:27
0

描述的不清楚啊

刘宏玺 | 园豆:14016 (专家六级) | 2014-08-28 18:17
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册