diff options
Diffstat (limited to 'id/ConfigWebTool/src/main/resources/struts.xml')
-rw-r--r-- | id/ConfigWebTool/src/main/resources/struts.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml index 9faaaeceb..34e11c7c9 100644 --- a/id/ConfigWebTool/src/main/resources/struts.xml +++ b/id/ConfigWebTool/src/main/resources/struts.xml @@ -4,7 +4,9 @@ "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> - + + <constant name="struts.custom.i18n.resources" value="webpages" /> + <package name="default" namespace="/" extends="struts-default"> <default-interceptor-ref name="defaultStack"/> @@ -31,7 +33,23 @@ <interceptor-ref name="defaultStack"/> </action> - + <action name="loadOA" method="inital" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> + <result name="oa_general">/jsp/editOAGeneral.jsp</result> + <result name="error">/error.jsp</result> + <interceptor-ref name="defaultStack"/> + </action> + + <action name="saveGeneral" method="saveGeneral" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> + <result name="success" type="chain">main</result> + <result name="error">/jsp/editOAGeneral.jsp</result> + <interceptor-ref name="defaultStack"/> + </action> + + <action name="cancleandback" method="cancleAndBack" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> + <result type="chain">main</result> + <interceptor-ref name="defaultStack"/> + </action> + </package> </struts>
\ No newline at end of file |