警告:Could not find action or result There is no Action mapped for namespace / and action name logat com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionPro
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/28 04:34:08
警告:Could not find action or result There is no Action mapped for namespace / and action name logat com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionPro
警告:Could not find action or result There is no Action mapped for namespace / and action name log
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:458)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:76)
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:228)
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:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:866)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:716)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1498)
at java.lang.Thread.run(Thread.java:595)
我在开发java web项目时,在控制台没有报出异常,点击页面按钮提交表单时,却报出了上面的异常.对struts有经验的朋友,
警告:Could not find action or result There is no Action mapped for namespace / and action name logat com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionPro
检查struts-config.xml中ACTION,然后再看JSP页面调用Action是否存在