日期:2014-05-18  浏览次数:20695 次

各位老大,struts的一个小问题,但是折磨我三天了,请大家帮忙!
刚入职,要编一个增删查改的功能的页面,用STRUTS。下面是我的STRUTS-CONFIG。
<?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>
    <data-sources   />
    <form-beans>
    <form-bean   type= "com.dhc.dota.DotaVo "   name= "DotaVoForm "   />
    </form-beans>
    <global-exceptions   />
    <global-forwards   />
   
    <action-mappings>
    <action   path= "/DotaCreate "   type= "com.dhc.dota.action.DotaCreateAction "   name= "DotaVoForm "   parameter= "method "   input= " "   scope= "session ">
            <forward   path= "/Sucess.jsp "   name= "sucesspage "/>
            <forward   path= "/Fail.jsp "   name= "fail "/>
            <forward   path= "/DotaCreate.jsp "   name= "newpage "/>
        </action>
      <action   path= "/DotaLista "   type= "com.dhc.dota.action.DotaListAction "       name= "DotaVoForm "   parameter= "method "   scope= "session ">
              <forward   path= "/index.jsp "   name= "listpage ">
        </forward>
        </action>
          <action   path= "/DotaDel "   type= "com.dhc.dota.action.DotaDelAction "   name= "DotaVoForm "   parameter= "method "   scope= "session ">
              <forward   path= "/Sucess.jsp "   name= "sucesspage "/>
        <forward   path= "/Fail.jsp "   name= "fail "   redirect= "false "/>

        </action>
          <action   path= "/DotaUpd "   type= "com.dhc.dota.action.DotaUpdateAction "   name= "DotaVoForm "   parameter= "method "   scope= "session ">
              <forward   path= "/DotaUpdate.jsp "   name= "updatepage "/>
              <forward   path= "/Sucess "   name= "sucesspage "/>
              <forward   path= "/Fail.jsp "   name= "fail "/>
          </action>
          <action   path= "/DotaDetail "   type= "com.dhc.dota.action.DotaDetailAction "   name= "DotaVoForm "   parameter= "method "   scope= "session ">
&