?? actionconfig-frame.xml.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 + -