我觉得是你的send.jsp中的form中的action在struts-config中没有对应

解决方案 »

  1.   

    <action-mappings>
        <action input="/error.jsp" name="submitForm" path="/submit"//这个地方
     scope="request" type="struts.SubmitAction" validate="true">
          <forward name="success" path="/display.jsp" />
          <forward name="failure" path="/failure.jsp" />
        </action>
      </action-mappings>
    看看struts-config里的path是否设成/send
      

  2.   

    路径没有问题,也设置成了/send。
      

  3.   

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
       <form-beans>
          <form-bean name="Send_Form" type="com.ezcross.cmhk.oa.form.doc.Send_Form" />
          <form-bean name="HtmlFileForm" type="com.ezcross.cmhk.oa.form.HtmlFileForm" />
       </form-beans>   <global-exceptions />
       <global-forwards />
       <action-mappings >
           <action
             input="/send.jsp"
             name="Send_Form"
             path="/send"
             scope="request"
             type="com.ezcross.cmhk.oa.action.doc.Send_Action" 
             validate="false">
             <forward name="sendform" path="/send.jsp" redirect="false"/>
           </action>       </action-mappings>
        <controller />
    </struts-config>