exception
There is no Action mapped for namespace / and action name checkLogin. - [unknown location]
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:497)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
FUCK 原来在struts.xml中 配置action的时候名字加了后缀名.action就导致找不到action了 fuck fuck fuck。。以后别犯了。。
There is no Action mapped for namespace / and action name checkLogin. - [unknown location]
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:497)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
FUCK 原来在struts.xml中 配置action的时候名字加了后缀名.action就导致找不到action了 fuck fuck fuck。。以后别犯了。。
本文记录了一次在Struts2框架中配置Action时遇到的问题,即在struts.xml文件中错误地为Action添加了.action后缀,导致系统无法正确映射Action。通过排查和修正,解决了该问题。

被折叠的 条评论
为什么被折叠?



