struts-config.xml是在struts中带的例子程序中改过来的。
  <!-- ========== Action Mapping Definitions ============================== -->
  <action-mappings>    <!-- Edit user registration -->
    <action    path="/editRegistration"
               type="org.apache.struts.webapp.example.EditRegistrationAction"
          attribute="registrationForm"
              scope="request"
           validate="false">
      <forward name="success"              path="/registration.jsp"/>
    </action>
    <action   path="/ZZSSYBAction"
              type="ZZSSYBAction"
              name="ZZSSYBForm"
              scope="request"
              input="/ZZSSYB.jsp"
              validate="false">
      <forward name="ZZSSYB"              path="/ZZSSYB.jsp"/>
    </action>

解决方案 »

  1.   

    action.xml文件部分内容  <!-- Edit user registration -->
      <action    path="/editRegistration"
          actionClass="org.apache.struts.webapp.example.EditRegistrationAction"
        formAttribute="registrationForm"
            formClass="org.apache.struts.webapp.example.RegistrationForm">
        <forward name="success"    path="/registration.jsp"/>
      </action>
     <action  path="/ZZSSYBAction"
         actionClass="ZZSSYBAction"
         formAttribute="ZZSSYBForm"
         formClass="ZZSSYBForm"
         input="/ZZSSYB.jsp"
       <forward name="ZZSSYB"              path="/ZZSSYB.jsp"/>
      </action>
      

  2.   

    html:text property="Username"
    type Exception report
    我想应该是你JSP里的那个东西写错了,把size去掉吧
      

  3.   

    是你jsp中写的有问题,错误说你的jsp编译都没通过.好好找找吧
      

  4.   

    头字母小写
    对应的form的get set 才要大写
    你如果用lib,就要和actionform里面的变量对应,如果你不用html:text而用<input type="text" >就没问题