你的struts-config.xml中的myAction设置可能有问题

解决方案 »

  1.   

    你的path有问题,把struts-config贴出来看看
      

  2.   

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
    <struts-config>
      <global-forwards>
        <forward name="input" path="/input.jsp" />
      </global-forwards>
    </struts-config>
      

  3.   

    <?xml version="1.0" encoding="ISO-8859-1" ?><!DOCTYPE struts-config PUBLIC
              "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
              "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
    <struts-config>  <!-- ========== Form Bean Definitions =================================== -->
      <form-beans>    <!-- group form bean -->
        <form-bean name="group_editForm"
                   type="com.user.GroupEditForm"/>
        <form-bean name="group_listForm"
                   type="com.user.GroupListForm"/>
      </form-beans>
      <!-- ========== Global Forward Definitions ============================== -->
       <global-forwards>
          <forward name="logon"      path="/manage/index.jsp"/>   </global-forwards>
      <!-- ========== Action Mapping Definitions ============================== -->
      <action-mappings>    <action    path="/group_edit"
                   type="com.user.GroupEditAction"
           name="group_editForm"
           scope="request"
           validate="false">
           <forward name="success"      path="/manage/user/groupedit.jsp"/>
           <forward name="fail"      path="/err/err.jsp"/>    </action>  </action-mappings></struts-config>
    看看上面的config你的里面没有action-mappings