jsp:
<form action="CallTimeReport.do" method=post name="testResult">strus_config.xml:<action parameter="dispatch" path="/CallTimeReport.do"

解决方案 »

  1.   

    com.epro.eppc.action.report.CallTimeReportAction
    这个类里面有dispatch()方法吗?
      

  2.   

    <form action="/CallTimeReport.do" method=post name="testResult">
    <input type="hidden" name="dispatch" value="reportCallTime">
    <input name="test" type="submit" value="test"></form>
    这样实验下
      

  3.   

    你用的是DispatchAction,从代码上看出你的<form action="CallTimeReport.do" method=post name="testResult">的ACTION属性有错误应该是action="CallTimeReport.do?diapatch=方法名"
    举个例子:这是一个用户Action里面有add方法
    <action
          attribute="userForm"
          name="userForm"
          parameter="method"
          path="/user"
          type="struts.action.UserAction">
    </action>
    应该这样调用<form action="user.do?method=add">