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

📄 actionconfig-frame.xml.svn-base

📁 用JSP JAVA 做的 系统 只是初来扎到还望西黄!别乱来哦!
💻 SVN-BASE
字号:
<?xml version="1.0" encoding="GB2312"?>
<!-- 配置文件  -->
<Config>

	<!--动作 开始-->
	<Action name="SYS_LOGON">
		<Description>系统登陆</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.userLogon</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">JSP/frame/logon.jsp</To>
			<To method="forward" code="1">Selevet.do?action=SYS_MAIN</To>			
		</View>
	</Action>
	
	<Action name="SYS_LOGONOUT">
		<Description>系统退出</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.userLogonOut</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">JSP/frame/logon.jsp</To>
			<To method="forward" code="1">JSP/frame/logon.jsp</To>			
		</View>
	</Action>
	
	<Action name="SYS_MAIN">
		<Description>系统主菜单生成</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.SysModule</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">JSP/frame/logon.jsp</To>
			<To method="forward" code="1">JSP/frame/mainframe.jsp</To>			
		</View>
	</Action>
	
	<Action name="SHOW_MODULE_LIST">
		<Description>系统主菜单生成</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.ShowModuleList</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0"></To>
			<To method="forward" code="1">JSP/frame/modulelist.jsp</To>			
		</View>
	</Action>
	
	<Action name="GET_SYS_USER_INFO">
		<Description>取用户信息</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.GetUserInfo</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">JSP/frame/userinfoedit.jsp</To>			
		</View>
	</Action>
	<Action name="SYS_USER_INFO_SAVE">
		<Description>保存用户信息</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.UserInfoSave</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/success.jsp</To>	
			<To method="forward" code="0">/JSP/fail.jsp</To>		
		</View>
	</Action>
	
	<!--显示在线用户列表-->	
	<Action name="ON_LINE_USER">
		<Description>显示在线用户列表</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.util.OnLine</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/frame/online_list.jsp</To>					
		</View>
	</Action>
	
	<!--踢出在线用户列表-->	
	<Action name="ON_LINE_USER_OUT">
		<Description>踢出在线用户列表</Description>	
			<Error>com.stframe.action.example.ErrorAction</Error>
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.util.OnLineOut</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/frame/online_list.jsp</To>					
		</View>
	</Action>
	

	<!-- 
	<Action name="SYS_WELCOME">
		<Description>系统欢迎界面</Description>	
		<Model>
			<Step id="1" errorDo="next">com.stframe.action.example.StartAction</Step>	
			<Step id="2" errorDo="next" result="true">com.chis.model.frame.Welcome</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0"></To>
			<To method="forward" code="1">JSP/frame/welcome.jsp</To>			
		</View>
	</Action>
	 -->
</Config>

⌨️ 快捷键说明

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