struts-config.xml~114~
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:6k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
  3. <struts-config>
  4.   <form-beans>
  5.     <form-bean name="bookCaseForm" type="com.actionForm.BookCaseForm" />
  6.     <form-bean name="managerForm" type="com.actionForm.ManagerForm" />
  7.     <form-bean name="libraryForm" type="com.actionForm.LibraryForm" />
  8.     <form-bean name="ParameterForm" type="com.actionForm.ParameterForm" />
  9.     <form-bean name="readerTypeForm" type="com.actionForm.ReaderTypeForm" />
  10.     <form-bean name="bookTypeForm" type="com.actionForm.BookTypeForm" />
  11.     <form-bean name="readerForm" type="com.actionForm.ReaderForm" />
  12.     <form-bean name="bookForm" type="com.actionForm.BookForm" />
  13.     <form-bean name="publishingForm" type="com.actionForm.PublishingForm" />
  14.     <form-bean name="borrowForm" type="com.actionForm.BorrowForm" />
  15.   </form-beans>
  16.   <action-mappings type="org.apache.struts.action.ActionMapping">
  17.     <action name="bookCaseForm" path="/bookCase" scope="request" type="com.action.BookCase" validate="true">
  18.       <forward name="bookcaseQuery" path="/bookcase.jsp" />
  19.       <forward name="bookcaseAdd" path="/bookcase_ok.jsp?para=1" />
  20.       <forward name="bookCaseQueryModify" path="/bookCase_Modify.jsp" />
  21.       <forward name="bookCaseModify" path="/bookcase_ok.jsp?para=2" />
  22.       <forward name="bookCaseDel" path="/bookcase_ok.jsp?para=3" />
  23.       <forward name="error" path="/error.jsp" />
  24.     </action>
  25.     <action name="managerForm" path="/manager" scope="request" type="com.action.Manager" validate="true">
  26.       <forward name="managerQuery" path="/manager.jsp" />
  27.       <forward name="managerLoginok" path="/main.jsp" />
  28.       <forward name="mangerLoginfilse" path="/login_false.jsp" />
  29.       <forward name="managerAdd" path="/manager_ok.jsp?para=1" />
  30.       <forward name="managerQueryModify" path="/manager_Modify.jsp" />
  31.       <forward name="managerModify" path="/manager_ok.jsp?para=2" />
  32.       <forward name="pwdQueryModify" path="/pwd_Modify.jsp" />
  33.       <forward name="pwdModify" path="/pwd_ok.jsp" />
  34.       <forward name="managerDel" path="/manager_ok.jsp?para=3" />
  35.       <forward name="modifypwd" path="/main.jsp" />
  36.       <forward name="error" path="/error.jsp" />
  37.     </action>
  38.     <action name="libraryForm" path="/library" scope="request" type="com.action.Library" validate="true">
  39.       <forward name="error" path="/error.jsp" />
  40.       <forward name="librarymodify" path="/library_ok.jsp?para=2" />
  41.       <forward name="librarymodifyQuery" path="/library_modify.jsp" />
  42.     </action>
  43.     <action name="ParameterForm" path="/parameter" scope="request" type="com.action.Parameter" validate="true">
  44.       <forward name="error" path="/error.jsp" />
  45.       <forward name="parametermodify" path="/parameter_ok.jsp?para=2" />
  46.       <forward name="parametermodifyQuery" path="/parameter_modify.jsp" />
  47.     </action>
  48.     <action name="readerTypeForm" path="/readerType" scope="request" type="com.action.ReaderType" validate="true">
  49.       <forward name="readerTypeQuery" path="/readerType.jsp" />
  50.       <forward name="readerTypeAdd" path="/readerType_ok.jsp?para=1" />
  51.       <forward name="readerTypeQueryModify" path="/readerType_Modify.jsp" />
  52.       <forward name="readerTypeModify" path="/readerType_ok.jsp?para=2" />
  53.       <forward name="readerTypeDel" path="/readerType_ok.jsp?para=3" />
  54.       <forward name="error" path="/error.jsp" />
  55.     </action>
  56.     <action name="bookTypeForm" path="/bookType" scope="request" type="com.action.BookType" validate="true">
  57.       <forward name="bookTypeQuery" path="/bookType.jsp" />
  58.       <forward name="bookTypeAdd" path="/bookType_ok.jsp?para=1" />
  59.       <forward name="bookTypeQueryModify" path="/bookType_Modify.jsp" />
  60.       <forward name="bookTypeModify" path="/bookType_ok.jsp?para=2" />
  61.       <forward name="bookTypeDel" path="/bookType_ok.jsp?para=3" />
  62.       <forward name="error" path="/error.jsp" />
  63.     </action>
  64.     <action name="readerForm" path="/reader" scope="request" type="com.action.Reader" validate="true">
  65.       <forward name="readerQuery" path="/reader.jsp" />
  66.       <forward name="readerAdd" path="/reader_ok.jsp?para=1" />
  67.       <forward name="readerQueryModify" path="/reader_Modify.jsp" />
  68.       <forward name="readerDeatil" path="/reader_detail.jsp" />
  69.       <forward name="readerModify" path="/reader_ok.jsp?para=2" />
  70.       <forward name="readerDel" path="/reader_ok.jsp?para=3" />
  71.       <forward name="error" path="/error.jsp" />
  72.     </action>
  73.     <action name="bookForm" path="/book" scope="request" type="com.action.Book" validate="true">
  74.       <forward name="bookQuery" path="/book.jsp" />
  75.       <forward name="bookifQuery" path="/bookQuery.jsp" />
  76.       <forward name="bookAdd" path="/book_ok.jsp?para=1" />
  77.       <forward name="bookQueryModify" path="/book_Modify.jsp" />
  78.       <forward name="bookDeatil" path="/book_detail.jsp" />
  79.       <forward name="bookModify" path="/book_ok.jsp?para=2" />
  80.       <forward name="bookDel" path="/book_ok.jsp?para=3" />
  81.       <forward name="error" path="/error.jsp" />
  82.     </action>
  83.     <action name="publishingForm" path="/publishing" scope="request" type="com.action.Publishing" validate="true" />
  84.     <action name="borrowForm" path="/borrow" scope="request" type="com.action.Borrow" validate="true">
  85.       <forward name="bookBorrowSort" path="/bookBorrowSort.jsp" />
  86.       <forward name="readerBorrowSort" path="/readerBorrowSort.jsp" />
  87.       <forward name="bookborrow" path="/bookBorrow.jsp" />
  88.       <forward name="borrowQuery" path="/borrowQuery.jsp" />
  89.       <forward name="bookborrowok" path="/bookBorrow_ok.jsp" />
  90.       <forward name="bookrenew" path="/bookRenew.jsp" />
  91.       <forward name="bookrenewok" path="/bookRenew_ok.jsp" />
  92.       <forward name="bookback" path="/bookBack.jsp" />
  93.       <forward name="bookbackok" path="/bookBack_ok.jsp" />
  94.       <forward name="Bremind" path="/bremind.jsp" />
  95.       <forward name="error" path="/error.jsp" />
  96.     </action>
  97.   </action-mappings>
  98. </struts-config>