DispatchMapping[/foreground/agentReworkData] does not define a handler property

2008-3-15 15:22:25 org.apache.struts.actions.DispatchAction execute
严重: DispatchMapping[/foreground/agentReworkData] does not define a handler property
2008-3-15 15:22:25 com.imti.telemedia.action.BaseAction execute
严重: javax.servlet.ServletException: DispatchMapping[/foreground/agentReworkData] does not define a handler property
javax.servlet.ServletException: DispatchMapping[/foreground/agentReworkData] does not define a handler property
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:176)
at com.imti.telemedia.action.BaseAction.execute(BaseAction.java:41)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.imti.telemedia.util.filter.EncodeFilter.doFilter(EncodeFilter.java:34)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2008-3-15 15:22:25 org.apache.struts.actions.DispatchAction execute
严重: DispatchMapping[/foreground/agentReworkData] does not define a handler property
2008-3-15 15:22:25 org.apache.struts.action.RequestProcessor processException
警告: Unhandled Exception thrown: class javax.servlet.ServletException
2008-3-15 15:22:25 org.apache.catalina.core.ApplicationContext log
信息: DispatchMapping[/foreground/agentReworkData] does not define a handler property

第一次用那个DispatchAction就包了一个这样的错误。找了好久才搞明白
解决:在struts-config.xml中配置了一个parameter="method",

所以在链接路径时agentReworkData.do应改为:...agentReworkData.do?method=agentReworkData

你可能感兴趣的:(java,apache,tomcat,struts,servlet)