<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
     <constant name="struts.i18n.encoding" value="gbk"/>
     <constant name="struts.devMode" value="true" />
     <!--Struts2中Action对象的创建交给spring完成-->
     <constant name="struts.objectFactory" value="spring" />   
       
          
	 <package name="login" namespace="/login" extends="struts-default">
	        <action name="login_*" class="loginAction" method="{1}">
	        	<result name="main_view">/main.jsp</result>
	        	<result name="error">/error.jsp</result>
	        	<result name="input">/login.jsp</result> 
	        	<result name="login_view">/login.jsp</result>
	          
	        </action>  
	 </package>
	 
         <!-- CollegeInfoAction配置 -->
         <package name="CollegeInfo" namespace="/CollegeInfo" extends="struts-default">
           <action name="CollegeInfo_*" class="collegeInfoAction" method="{1}">
             <result name="add_view">/CollegeInfo_add.jsp</result>
             <result name="input">/CollegeInfo_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/CollegeInfo_query_result.jsp</result>
             <result name="front_query_view">/CollegeInfo_frontquery_result.jsp</result>
             <result name="front_show_view">/CollegeInfo_frontshow.jsp</result>
             <result name="modify_view">/CollegeInfo_modify.jsp</result>
           </action>
         </package>

         <!-- SpecialFieldInfoAction配置 -->
         <package name="SpecialFieldInfo" namespace="/SpecialFieldInfo" extends="struts-default">
           <action name="SpecialFieldInfo_*" class="specialFieldInfoAction" method="{1}">
             <result name="add_view">/SpecialFieldInfo_add.jsp</result>
             <result name="input">/SpecialFieldInfo_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/SpecialFieldInfo_query_result.jsp</result>
             <result name="front_query_view">/SpecialFieldInfo_frontquery_result.jsp</result>
             <result name="front_show_view">/SpecialFieldInfo_frontshow.jsp</result>
             <result name="modify_view">/SpecialFieldInfo_modify.jsp</result>
           </action>
         </package>

         <!-- ClassInfoAction配置 -->
         <package name="ClassInfo" namespace="/ClassInfo" extends="struts-default">
           <action name="ClassInfo_*" class="classInfoAction" method="{1}">
             <result name="add_view">/ClassInfo_add.jsp</result>
             <result name="input">/ClassInfo_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/ClassInfo_query_result.jsp</result>
             <result name="front_query_view">/ClassInfo_frontquery_result.jsp</result>
             <result name="front_show_view">/ClassInfo_frontshow.jsp</result>
             <result name="modify_view">/ClassInfo_modify.jsp</result>
           </action>
         </package>

         <!-- Student_QQ287307421Action配置 -->
         <package name="Student_QQ287307421" namespace="/Student_QQ287307421" extends="struts-default">
           <action name="Student_QQ287307421_*" class="student_QQ287307421Action" method="{1}">
             <result name="add_view">/Student_QQ287307421_add.jsp</result>
             <result name="input">/Student_QQ287307421_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/Student_QQ287307421_query_result.jsp</result>
             <result name="front_query_view">/Student_QQ287307421_frontquery_result.jsp</result>
             <result name="front_show_view">/Student_QQ287307421_frontshow.jsp</result>
             <result name="modify_view">/Student_QQ287307421_modify.jsp</result>
           </action>
         </package>

         <!-- Teacher_QQ287307421Action配置 -->
         <package name="Teacher_QQ287307421" namespace="/Teacher_QQ287307421" extends="struts-default">
           <action name="Teacher_QQ287307421_*" class="teacher_QQ287307421Action" method="{1}">
             <result name="add_view">/Teacher_QQ287307421_add.jsp</result>
             <result name="input">/Teacher_QQ287307421_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/Teacher_QQ287307421_query_result.jsp</result>
             <result name="front_query_view">/Teacher_QQ287307421_frontquery_result.jsp</result>
             <result name="front_show_view">/Teacher_QQ287307421_frontshow.jsp</result>
             <result name="modify_view">/Teacher_QQ287307421_modify.jsp</result>
           </action>
         </package>

         <!-- CourseInfo_QQ254540457Action配置 -->
         <package name="CourseInfo_QQ254540457" namespace="/CourseInfo_QQ254540457" extends="struts-default">
           <action name="CourseInfo_QQ254540457_*" class="courseInfo_QQ254540457Action" method="{1}">
             <result name="add_view">/CourseInfo_QQ254540457_add.jsp</result>
             <result name="input">/CourseInfo_QQ254540457_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/CourseInfo_QQ254540457_query_result.jsp</result>
             <result name="front_query_view">/CourseInfo_QQ254540457_frontquery_result.jsp</result>
             <result name="front_show_view">/CourseInfo_QQ254540457_frontshow.jsp</result>
             <result name="modify_view">/CourseInfo_QQ254540457_modify.jsp</result>
           </action>
         </package>

         <!-- StudentSelectCourseInfoAction配置 -->
         <package name="StudentSelectCourseInfo" namespace="/StudentSelectCourseInfo" extends="struts-default">
           <action name="StudentSelectCourseInfo_*" class="studentSelectCourseInfoAction" method="{1}">
             <result name="add_view">/StudentSelectCourseInfo_add.jsp</result>
             <result name="input">/StudentSelectCourseInfo_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/StudentSelectCourseInfo_query_result.jsp</result>
             <result name="front_query_view">/StudentSelectCourseInfo_frontquery_result.jsp</result>
             <result name="front_show_view">/StudentSelectCourseInfo_frontshow.jsp</result>
             <result name="modify_view">/StudentSelectCourseInfo_modify.jsp</result>
           </action>
         </package>

         <!-- ScoreInfoAction配置 -->
         <package name="ScoreInfo" namespace="/ScoreInfo" extends="struts-default">
           <action name="ScoreInfo_*" class="scoreInfoAction" method="{1}">
             <result name="add_view">/ScoreInfo_add.jsp</result>
             <result name="input">/ScoreInfo_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/ScoreInfo_query_result.jsp</result>
             <result name="front_query_view">/ScoreInfo_frontquery_result.jsp</result>
             <result name="front_show_view">/ScoreInfo_frontshow.jsp</result>
             <result name="modify_view">/ScoreInfo_modify.jsp</result>
           </action>
         </package>

         <!-- NewsAction配置 -->
         <package name="News" namespace="/News" extends="struts-default">
           <action name="News_*" class="newsAction" method="{1}">
             <result name="add_view">/News_add.jsp</result>
             <result name="input">/News_add.jsp</result>
             <result name="add_success">/message.jsp</result>
             <result name="delete_success">/message.jsp</result>
             <result name="modify_success">/message.jsp</result>
             <result name="error">/error.jsp</result>
             <result name="query_view">/News_query_result.jsp</result>
             <result name="front_query_view">/News_frontquery_result.jsp</result>
             <result name="front_show_view">/News_frontshow.jsp</result>
             <result name="modify_view">/News_modify.jsp</result>
           </action>
         </package>


	 
	 

 	 <package name="password" namespace="/password" extends="struts-default">
	        <action name="ChangePassword" class="changePasswordAction">  
	        	<result name="change_success">/message.jsp</result>
	        	<result name="error">/error.jsp</result> 
	        </action>  
	 </package> 
	  
	 <package name="User" namespace="/User" extends="struts-default">
	        <action name="User_*" class="com.shuangyulin.action.UserAction" method="{1}">  
	        	<result name="user_query_view">/user_query_result.jsp</result>
	        	<result name="success">/message.jsp</result>
	        	<result name="error">/error.jsp</result> 
	        </action>  
	 </package>  
	 
</struts>
