⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struts-config.xml~136~

📁 一个基于JAVA的BS结构的宠物诊所管理系统.是当年在学校时写的,大家指点一下.
💻 XML~136~
字号:
<?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="userInfo" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.actionform.UserInfo"/>
    <form-bean name="userInfoPage" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.actionform.UserInfoPage"/>
    <form-bean name="vetInfo" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.actionform.VetInfo"/>
    <form-bean name="petOwner" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.actionform.PetOwner"/>
    <form-bean name="pet" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.actionform.Pet"/>
    <form-bean name="petCaseHistory" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.actionform.PetCaseHistory"/>
  </form-beans>
  <action-mappings>
    <action input="/welcome.jsp" name="userInfo" path="/login" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.LoginAction" validate="true">
      <forward name="loginSuccess" path="/index.jsp"/>
      <forward name="loginFailure" path="/login.jsp"/>
    </action>
    <action input="/welcome.jsp" name="userInfo" path="/addNewUser" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddNewUser" validate="true">
      <forward name="addnewuserfinish" path="/addnewuser.jsp"/>
      <forward name="IllegalAccessError" path="/IllegalAccessError.jsp"/>
    </action>
    <action input="/IllegalAccessError.jsp" path="/searchUserInfo" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.SearchUserInfo">
      <forward name="SearchUser" path="/searchuser.jsp"/>
      <forward name="IllegalAccessError" path="/IllegalAccessError.jsp"/>
    </action>
    <action input="/servererror.jsp" name="userInfo" path="/deleteUser" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.DeleteUser" validate="false">
      <forward name="SearchUserAction" path="/searchUserInfo.do"/>
      <forward name="IllegalAccessError" path="/IllegalAccessError.jsp"/>
    </action>
    <action input="/servererror.jsp" name="vetInfo" path="/addNewVet" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddNewVet" validate="false">
      <forward name="VetView" path="/vet.jsp"/>
    </action>
    <action input="/servererror.jsp" path="/searchVetInfo" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.SearchVetInfo">
      <forward name="VetView" path="/vet.jsp"/>
    </action>
    <action input="/servererror.jsp" name="petOwner" path="/addPetOwner" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddPetOwner" validate="false">
      <forward name="AddPetOwnerView" path="/PetOwner.jsp"/>
    </action>
    <action input="/servererror.jsp" name="petOwner" path="/searchPetOwner" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.SearchPetOwner" validate="false">
      <forward name="SearchPetOwnerView" path="/SearchPetOwner.jsp"/>
    </action>
    <action input="/servererror.jsp" name="petOwner" path="/alterPetOwner" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AlterPetOwner" validate="false">
      <forward name="AlterPetOwnerView" path="/AlterPetOwner.jsp"/>
    </action>
    <action input="/servererror.jsp" name="pet" path="/addPet" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddPet" validate="false">
      <forward name="AddPetView" path="/AddPet.jsp"/>
    </action>
    <action input="/servererror.jsp" name="pet" path="/searchPet" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.SearchPet" validate="false">
      <forward name="PetView" path="/pet.jsp"/>
    </action>
    <action input="/servererror.jsp" name="pet" path="/alterPet" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AlterPet" validate="false">
      <forward name="AlterPetView" path="/AlterPet.jsp"/>
    </action>
    <action input="/servererror.jsp" name="petCaseHistory" path="/addPetCaseHistory" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddPetCaseHistory" validate="false">
      <forward name="AddPetCaseHistoryView" path="/AddPetCaseHistory.jsp"/>
    </action>
    <action input="/servererror.jsp" name="petCaseHistory" path="/searchPetCaseHistory" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.SearchPetCaseHistory" validate="false">
      <forward name="SearchPetCaseHistoryView" path="/SearchPetCaseHistory.jsp"/>
    </action>
    <action input="/servererror.jsp" path="/addProfessionType" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddProfessionType">
      <forward name="AddProfessionTypeView" path="/AddProfessionType.jsp"/>
      <forward name="IllegalAccessError" path="/IllegalAccessError.jsp"/>
    </action>
    <action input="/servererror.jsp" path="/addPetType" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AddPetType">
      <forward name="AddPetTypeView" path="/pet.jsp"/>
      <forward name="IllegalAccessError" path="/IllegalAccessError.jsp"/>
    </action>
    <action input="/servererror.jsp" name="userInfo" path="/alterUserPassword" scope="request" type="gxaccp.t07.guoneng_wei.petclinicmanagesystem.action.AlterUserPassword" validate="false">
      <forward name="AlterUserPasswordView" path="/AlterUserPassword.jsp"/>
      <forward name="IllegalAccessError" path="/IllegalAccessError.jsp"/>
    </action>
  </action-mappings>
</struts-config>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -