From ff821d1b0fc4078ba699837ff947088f49ed00dd Mon Sep 17 00:00:00 2001 From: 81041 <81041@DESKTOP-025NVD9> Date: 星期四, 20 六月 2019 15:19:42 +0800 Subject: [PATCH] 修改struts.xml --- sensor/src/struts.xml | 123 ---------------------------------------- 1 files changed, 2 insertions(+), 121 deletions(-) diff --git a/sensor/src/struts.xml b/sensor/src/struts.xml index 735ce7c..0d54998 100644 --- a/sensor/src/struts.xml +++ b/sensor/src/struts.xml @@ -15,133 +15,14 @@ <package name="default" namespace="/" extends="json-default" > - <action name="CheckClientAction_check" class="com.fgkj.actions.CheckClientAction" method="check"> - <result name="none" type="redirect">/login.jsp</result> - <result name="success" type="redirect">/mobil/loginm.html</result> - </action> - - <action name="LoginAction_*" class="com.fgkj.actions.LoginAction" method="{1}"> - <result type="json"/> - </action> - - - <action name="UserAction_*" class="com.fgkj.actions.UserAction" method="{1}"> - <result type="json"/> - </action> - - <action name="RoleLimitAction_*" class="com.fgkj.actions.RoleLimitAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="UserRoleAction_*" class="com.fgkj.actions.UserRoleAction" method="{1}"> - <result type="json"/> - </action> - - <action name="RolesAction_*" class="com.fgkj.actions.RolesAction" method="{1}"> - <result type="json"/> - </action> - - <action name="LimitAction_*" class="com.fgkj.actions.LimitAction" method="{1}"> - <result type="json"/> - </action> - - <action name="BattInfAction_*" class="com.fgkj.actions.BattInfAction" method="{1}"> - <result type="json"/> - </action> - - <action name="Batt_rtdataAction_*" class="com.fgkj.actions.Batt_rtdataAction" method="{1}"> - <result type="json"/> - </action> - - <action name="Batt_rtstateAction_*" class="com.fgkj.actions.Batt_rtstateAction" method="{1}"> - <result type="json"/> - </action> - <action name="Batttestdata_infAction_*" class="com.fgkj.actions.Batttestdata_infAction" method="{1}"> - <result type="json"/> - </action> - - <action name="BatttestdataAction_*" class="com.fgkj.actions.BatttestdataAction" method="{1}"> - <result type="json"/> - </action> - - <action name="BatttestdatastopAction_*" class="com.fgkj.actions.BatttestdatastopAction" method="{1}"> - <result type="json"/> - </action> - - <action name="Batt_param_lowAction_*" class="com.fgkj.actions.Batt_param_lowAction" method="{1}"> - <result type="json"/> - </action> - - <action name="Batt_maintenance_infAction_*" class="com.fgkj.actions.Batt_maintenance_infAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="BattresdataAction_*" class="com.fgkj.actions.BattresdataAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="Battresdata_infAction_*" class="com.fgkj.actions.Battresdata_infAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="User_jiejiariAction_*" class="com.fgkj.actions.User_jiejiariAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="User_infAction_*" class="com.fgkj.actions.User_infAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="Batt_Maint_DealarmAction_*" class="com.fgkj.actions.Batt_Maint_DealarmAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="I18nAction_*" class="com.fgkj.actions.I18nAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="Batt_maint_infAction_*" class="com.fgkj.actions.Batt_maint_infAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="Hard_dev_sms_stateAction!*" class="com.fgkj.actions.ram.Hard_dev_sms_stateAction" method="{1}"> - <result type="json"></result> - </action> - - <action name="*_61850action_*" class="com.fgkj.actions.bts61850.{1}" method="{2}"> - <result type="json"></result> - </action> - - <action name="*_ld9action_*" class="com.fgkj.actions.Ld9.{1}" method="{2}"> - <result type="json"></result> - </action> - - <action name="*_ramaction_*" class="com.fgkj.actions.ram.rt.{1}" method="{2}"> - <result type="json"></result> - </action> - - <action name="*_media_*" class="com.fgkj.actions.media.{1}" method="{2}"> - <result type="json"></result> - </action> - - <action name="*_action_*" class="com.fgkj.actions.ram.{1}" method="{2}"> - <result type="json"></result> - </action> - + <action name="*!*" class="com.fgkj.actions.{1}" method="{2}"> <result type="json"></result> </action> - <action name="FileUploadAction" class="com.fgkj.actions.FileUploadAction"> - <result type="stream"> - <param name="contentType">application/octet-stream</param> - <param name="inputName">inputStream</param> - <param name="contentDisposition">attachment;filename=${filename}</param> - <param name="bufferSize">4096</param> - </result> - </action> + </package> <package name="p1" namespace="/" extends="struts-default"> <result-types> -- Gitblit v1.9.1