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

📄 struts-config.xml.svn-base

📁 Struts+Hibernate实现MVC
💻 SVN-BASE
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://struts.apache.org/dtds/struts-config_1_2.dtd">

<struts-config>
	<data-sources />
	<form-beans>

		<form-bean name="adminUserActionForm" type="com.gooooal.web.form.admin.AdminUserActionForm" />
		<form-bean name="moduleActionForm" type="com.gooooal.web.form.admin.ModuleActionForm" />
		<form-bean name="roleActionForm" type="com.gooooal.web.form.admin.RoleActionForm" />

		<form-bean name="idNameForm" type="com.gooooal.web.form.IdNameForm" />
        <form-bean name="globalWeatherForm" type="com.gooooal.web.form.GlobalWeatherForm" />
        <form-bean name="globalAreaForm" type="com.gooooal.web.form.GlobalAreaForm" />
        <form-bean name="globalPlaceForm" type="com.gooooal.web.form.GlobalPlaceForm" />
        <form-bean name="globalCityForm" type="com.gooooal.web.form.GlobalCityForm" />
        <form-bean name="globalCountryForm" type="com.gooooal.web.form.GlobalCountryForm" />

		<form-bean name="fbMatchGroupForm" type="com.gooooal.web.form.FbMatchGroupForm" />
		<form-bean name="fbMatchPeriodForm" type="com.gooooal.web.form.FbMatchPeriodForm" />
		<form-bean name="fbMatchLogTypeForm" type="com.gooooal.web.form.FbMatchLogTypeForm" />
		
		<form-bean name="fbSeasonForm"
			type="com.gooooal.web.form.FbSeasonForm" />
			
		<form-bean name="globalPropertyForm"
			type="com.gooooal.web.form.GlobalPropertyForm" />
			
	    <form-bean name="fbPersonTypeForm"
			type="com.gooooal.web.form.FbPersonTypeForm" />
		<form-bean name="fbPersonLogTypeForm"
			type="com.gooooal.web.form.FbPersonLogTypeForm" />
		<form-bean name="fbMatchTypeForm" type="com.gooooal.web.form.FbMatchTypeListForm"/>
		
		<form-bean name="fbMatchLevelForm" type="com.gooooal.web.form.FbMatchLevelForm"/>
		
		<form-bean name="fbLeagueForm" type="com.gooooal.web.form.FbLeagueForm"/>
	
	
		 <form-bean name="fbPersonForm"
			type="com.gooooal.web.form.FbPersonForm" />
			
		 <form-bean name="fbPersonSeasonForm"
			type="com.gooooal.web.form.FbPersonSeasonForm" />
    </form-beans>
	<global-exceptions />
	<global-forwards>
		<forward name="error" path="/pages/admin/error.jsp" />
		<forward name="restrict" path="/pages/admin/restrict.jsp" />
		<forward name="login" path="/pages/admin/login.jsp" />
	</global-forwards>
	<action-mappings>

		<action name="adminUserActionForm" path="/adminUserAction" parameter="method" scope="request" type="com.gooooal.web.action.admin.AdminUserAction">
			<forward name="listAdminUser" path="/pages/admin/adminuser_list.jsp" />
			<forward name="addAdminUser" path="/pages/admin/adminuser_modify.jsp" />
			<forward name="modifyAdminUser" path="/pages/admin/adminuser_modify.jsp" />
			<forward name="modifyPassword" path="/pages/admin/chgpwd.jsp" />
			<forward name="quit" path="/pages/admin/login.jsp" />
		</action>
		<action name="moduleActionForm" path="/moduleAction" parameter="method" scope="request" type="com.gooooal.web.action.admin.ModuleAction">
			<forward name="showMenu" path="/pages/admin/menu.jsp" />
			<forward name="showHeader" path="/pages/admin/header.jsp" />
			<forward name="listModule" path="/pages/admin/module_list.jsp" />
			<forward name="addModule" path="/pages/admin/module_modify.jsp" />
			<forward name="modifyModule" path="/pages/admin/module_modify.jsp" />
			<forward name="listAuthority" path="/pages/admin/authority_list.jsp" />
			<forward name="addAuthority" path="/pages/admin/authority_modify.jsp" />
			<forward name="modifyAuthority" path="/pages/admin/authority_modify.jsp" />
		</action>
		<action name="roleActionForm" path="/roleAction" parameter="method" scope="request" type="com.gooooal.web.action.admin.RoleAction">
			<forward name="listRole" path="/pages/admin/role_list.jsp" />
			<forward name="addRole" path="/pages/admin/role_modify.jsp" />
			<forward name="modifyRole" path="/pages/admin/role_modify.jsp" />
		</action>


		<action path="/testSession" parameter="med" type="com.gooooal.web.action.test.TestSessinoAction" />
		<action path="/queryXml" parameter="med" type="com.gooooal.web.action.QueryXmlAction" />

		<action name="idNameForm" path="/globalSportsType" parameter="med" type="com.gooooal.web.action.global.GlobalSportsTypeAction">
			<forward name="listGlobalSportsType" path="/pages/global/global_sports_type.jsp"/>
		</action>

		<action attribute="fbSeasonForm" name="fbSeasonForm" parameter="med" path="/season" scope="request"
                type="com.gooooal.web.action.FbSeasonAction">
             <forward name="list" path="/pages/fbSeason/seasonList.jsp"/>
             <forward name="forCreate" path="/pages/fbSeason/seasonAdd.jsp"/>
             <forward name="forEdit" path="/pages/fbSeason/seasonEdit.jsp"/>
             <forward name="listAction" path="/season.do?med=doList"/>
        </action>
        
        <action attribute="globalPropertyForm" name="globalPropertyForm" parameter="med" path="/globalProperty" scope="request"
                type="com.gooooal.web.action.global.GlobalPropertyAction">
             <forward name="list" path="/pages/global/global_property_list.jsp"/>
             <forward name="forCreate" path="/pages/global/global_property_add.jsp"/>
             <forward name="forEdit" path="/pages/global/global_property_add.jsp"/>
             <forward name="listAction" path="/globalProperty.do?med=doList" redirect="true"/>
             <forward name="toList" path="/globalProperty.do?med=doList"/>
        </action>
        
        <action attribute="fbPersonTypeForm" name="fbPersonTypeForm" parameter="med" path="/personType"
              scope="request" type="com.gooooal.web.action.FbPersonTypeAction">
             <forward name="list" path="/pages/fbPersonType/personTypeList.jsp"/>
        </action>
        <action attribute="fbPersonLogTypeForm" name="fbPersonLogTypeForm" parameter="med" path="/personLogType"
              scope="request" type="com.gooooal.web.action.FbPersonLogTypeAction">
             <forward name="list" path="/pages/fbPersonLogType/personLogTypeList.jsp"/>
             <forward name="doList" path="/personLogType.do?med=doList"/>
             <forward name="listAction" path="/personLogType.do?med=doList" redirect="true"/>
        </action>
        <action attribute="fbMatchGroupForm" name="fbMatchGroupForm" parameter="med" path="/fbMatchGroup"
              scope="request" type="com.gooooal.web.action.FbMatchGroupAction">
              <forward name="list" path="/pages/fbMatchGroup/fbMatchGroupList.jsp"/>
             <forward name="doList" path="/fbMatchGroup.do?med=doList"/>            
        </action>
        
        <action attribute="globalWeatherForm" name="globalWeatherForm" parameter="med" path="/globalWeather"
              scope="request" type="com.gooooal.web.action.global.GlobalWeatherAction">
              <forward name="list" path="/pages/global/global_weather_list.jsp"/>
             <forward name="forCreate" path="/pages/global/global_weather_add.jsp"/>
             <forward name="forEdit" path="/pages/global/global_weather_add.jsp"/>
             <forward name="listAction" path="/globalWeather.do?med=doList" redirect="true"/>
             <forward name="toList" path="/globalWeather.do?med=doList"/>
        </action>
        
        <action attribute="globalAreaForm" name="globalAreaForm" parameter="med" path="/globalArea"
              scope="request" type="com.gooooal.web.action.global.GlobalAreaAction">
              <forward name="list" path="/pages/global/global_area_list.jsp"/>
             <forward name="forCreate" path="/pages/global/global_area_add.jsp"/>
             <forward name="forEdit" path="/pages/global/global_area_add.jsp"/>
             <forward name="listAction" path="/globalArea.do?med=doList" redirect="true"/>
             <forward name="toList" path="/globalArea.do?med=doList" />
        </action>
        
        <action attribute="globalPlaceForm" name="globalPlaceForm" parameter="med" path="/globalPlace"
              scope="request" type="com.gooooal.web.action.global.GlobalPlaceAction">
              <forward name="list" path="/pages/global/global_place_list.jsp"/>
             <forward name="forCreate" path="/pages/global/global_place_add.jsp"/>
             <forward name="forEdit" path="/pages/global/global_place_add.jsp"/>
             <forward name="listAction" path="/globalPlace.do?med=doList" redirect="true"/>
             <forward name="toList" path="/globalPlace.do?med=doList"/>
             <forward name="viewDetail" path="/pages/global/global_place_detail.jsp"/>             
        </action>
        
        <action attribute="globalCityForm" name="globalCityForm" parameter="med" path="/globalCity"
              scope="request" type="com.gooooal.web.action.global.GlobalCityAction">
             <forward name="list" path="/pages/global/global_city_list.jsp"/>
             <forward name="forCreate" path="/pages/global/global_city_add.jsp"/>
             <forward name="forEdit" path="/pages/global/global_city_edit.jsp"/>
             <forward name="listAction" path="/globalCity.do?med=doList" redirect="true"/>
        </action>
        
        <action attribute="globalCountryForm" name="globalCountryForm" parameter="med" path="/globalCountry"
              scope="request" type="com.gooooal.web.action.global.GlobalCountryAction">
             <forward name="list" path="/pages/global/global_country_list.jsp" />
             <forward name="forCreate" path="/pages/global/global_country_add.jsp"/>
             <forward name="forEdit" path="/pages/global/global_country_edit.jsp"/>
             <forward name="listAction" path="/globalCountry.do?med=doList" redirect="true"/>
        </action>
        
        <action attribute="fbMatchTypeForm" name="fbMatchTypeForm" parameter="med" path="/matchType"
              scope="request" type="com.gooooal.web.action.FbMatchTypeAction">
             <forward name="list" path="/pages/fbMatchType/fbMatchTypeList.jsp"/>
        </action>
        
        <action attribute="fbMatchLevelForm" name="fbMatchLevelForm" parameter="med" path="/matchLevel"
              scope="request" type="com.gooooal.web.action.FbMatchLevelAction">
             <forward name="list" path="/pages/fbMatchLevel/fbMatchLevelList.jsp"/>
        </action>
        
        <action attribute="fbMatchPeriodForm" name="fbMatchPeriodForm" parameter="med" path="/matchPeriod"
              scope="request" type="com.gooooal.web.action.FbMatchPeriodAction">
             <forward name="list" path="/pages/fbMatchPeriod/matchPeriodList.jsp"/>
        </action>
        
        <action attribute="fbMatchLogTypeForm" name="fbMatchLogTypeForm" parameter="med" path="/matchLogType"
              scope="request" type="com.gooooal.web.action.FbMatchLogTypeAction">
             <forward name="list" path="/pages/fbMatchLogType/matchLogTypeList.jsp"/>
        </action>

        
        
        
          <action attribute="fbPersonForm" name="fbPersonForm" parameter="med" path="/fbPerson"
              scope="request" type="com.gooooal.web.action.FbPersonAction">
             <forward name="list" path="/pages/fbPerson/fbPersonlist.jsp" />
             <forward name="forCreate" path="/pages/global/global_country_add.jsp"/>
             <forward name="forEdit" path="/pages/fbPerson/fbPerson_edit.jsp"/>
             <forward name="listAction" path="/globalCountry.do?med=doList" redirect="true"/>
        </action>
        
        
          <action attribute="fbPersonSeasonForm" name="fbPersonSeasonForm" parameter="med" path="/fbPersonSeason"
              scope="request" type="com.gooooal.web.action.FbPersonSeasonAction">
             <forward name="list" path="/pages/fbPersonSeason/fbPersonSeasonlist.jsp" />
             <forward name="forCreate" path="/pages/global/global_country_add.jsp"/>
             <forward name="forEdit" path="/pages/fbPersonSeason/fbPersonSeason_edit.jsp"/>
             <forward name="listAction" path="/fbPersonSeason.do?med=doList" redirect="true"/>
        </action>

        
        <action attribute="fbLeagueForm" name="fbLeagueForm" parameter="med" path="/league"
              scope="request" type="com.gooooal.web.action.FbLeagueAction">
             <forward name="listLeague" path="/pages/league/league_edit.jsp" />
             <forward name="forEditLeague" path="/pages/league/league_list.jsp"/>
             <forward name="listLeagueAction" path="/league.do?med=doLeagueList" redirect="true"/>
             
             <forward name="listLeagueSeason" path="/pages/league/leagueSeason_edit.jsp"/>
             <forward name="forEditLeagueSeason" path="/pages/league/leagueSeason_list.jsp"/>
             <forward name="listLeagueSeasonAction" path="/league.do?med=doLeagueSeasonList" redirect="true"/>
        </action>

    </action-mappings>
	<message-resources parameter="com.gooooal.web.WebResources" />

	<plug-in className="org.apache.struts.tiles.TilesPlugin">
		<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
	</plug-in>

	<plug-in className="com.gooooal.util.CacheMap">
		<set-property property="configFile" value="/WEB-INF/classes/cache-map.xml" />
	</plug-in>

</struts-config>

⌨️ 快捷键说明

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