Commit 8f220298 by liuyz

更新

parent 5412bc5b
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
<struts> <struts>
<package name="src_monitoring" extends="gaowj"> <package name="src_monitoring" extends="gaowj">
<action name="warningAct_*" class="com.gaowj.warning.action.actAction" method="{1}">
<result name="json" type="json">
<param name="root">jsonObject</param>
</result>
</action>
<action name="warningView_*" class="com.gaowj.warning.action.viewAction" method="{1}"> <action name="warningView_*" class="com.gaowj.warning.action.viewAction" method="{1}">
<result name="{1}">/monitoring/pages/warning/{1}.jsp</result> <result name="{1}">/monitoring/pages/warning/{1}.jsp</result>
</action> </action>
...@@ -57,7 +62,7 @@ ...@@ -57,7 +62,7 @@
</action> </action>
<action name="userView_*" class="com.gaowj.user.action.viewAction" method="{1}"> <action name="userView_*" class="com.gaowj.user.action.viewAction" method="{1}">
<result name="{1}">/monitoring/pages/host/{1}.jsp</result> <result name="{1}">/monitoring/pages/user/{1}.jsp</result>
</action> </action>
<action name="userAct_*" class="com.gaowj.user.action.actAction" method="{1}"> <action name="userAct_*" class="com.gaowj.user.action.actAction" method="{1}">
<result name="json" type="json"> <result name="json" type="json">
...@@ -71,4 +76,15 @@ ...@@ -71,4 +76,15 @@
</action> </action>
</package> </package>
<package name="default" namespace="/" extends="struts-default">
<interceptors>
<!-- 定义拦截器堆栈 -->
<interceptor-stack name="adminStack">
<interceptor-ref name="defaultStack"></interceptor-ref>
</interceptor-stack>
</interceptors>
<action name="sendMail" class="com.gaowj.zabbix.action.actAction" method="sendMail">
</action>
</package>
</struts> </struts>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment