actionconfig-jb-jsb.xml.svn-base

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

SVN-BASE
75
字号
<?xml version="1.0" encoding="GB2312"?>
<!--zxh精神病患者及随访记录-->
<Config>


	<Action name="JSB_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.jbgl.jsb.JsbListPage</Step>
			<Step id="3" errorDo="next" >com.stframe.action.example.EndAction</Step>
		</Model>
		<View>
			<To method="forward" code="1">JSP/jbgl/jsb/jsb_list.jsp</To>
		</View>
	</Action>

	<Action name="JSB_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/jbgl/jsb/jsb_add.jsp</To>					
		</View>
	</Action>

	<Action name="JSB_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.jbgl.jsb.JsbSave</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="JSB_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.jbgl.jsb.JsbInfo</Step>
			<Step id="3" errorDo="next">com.stframe.action.example.EndAction</Step>		
		</Model>
		<View>
			<To method="forward" code="0">/JSP/jbgl/jsb/jsb_info.jsp</To>
			<To method="forward" code="1">/JSP/jbgl/jsb/jsb_update.jsp</To>					
		</View>
	</Action>

	<Action name="JSB_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.jbgl.jsb.JsbDel</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 + -
显示快捷键?