actionconfig-myk.xml.svn-base

来自「用JSP JAVA 做的 系统 只是初来扎到还望西黄!别乱来哦!」· SVN-BASE 代码 · 共 87 行

SVN-BASE
87
字号
<?xml version="1.0" encoding="GB2312"?>
<!--zxh儿童免疫卡-->
<Config>

	<Action name="MYK_LIST">
		<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.model.etjz.MykList</Step>
			<Step id="3" errorDo="next" >com.stframe.action.example.EndAction</Step>
		</Model>
		<View>
			<To method="forward" code="1">JSP/etjz/myk_list.jsp</To>
		</View>
	</Action>
	
	<Action name="MYK_LIST_PAGE">
		<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.model.etjz.MykListPage</Step>
			<Step id="3" errorDo="next" >com.stframe.action.example.EndAction</Step>
		</Model>
		<View>
			<To method="forward" code="1">JSP/etjz/myk_list.jsp</To>
		</View>
	</Action>

	<Action name="MYK_ADD">
		<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.model.other.EmpList</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="1">/JSP/etjz/myk_add.jsp</To>					
		</View>
	</Action>

	<Action name="MYK_SAVE">
		<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.model.etjz.MykSave</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="MYK_INFO">
		<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.model.other.EmpList</Step>
			<Step id="3" errorDo="next" result="true">com.chis.model.etjz.MykInfo</Step>
			<Step id="4" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">/JSP/etjz/myk_info.jsp</To>
			<To method="forward" code="1">/JSP/etjz/myk_update.jsp</To>					
		</View>
	</Action>

	<Action name="MYK_DELETE">
		<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.model.etjz.MykDel</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>	
	
</Config>	

⌨️ 快捷键说明

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