diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-02 12:03:29 +0200 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-02 12:03:29 +0200 |
commit | 4b890232cc2ef904ede71663abb4fb5f3d8be7e8 (patch) | |
tree | 4421b954168090878a0341ee3eba31d7b3906212 /id/ConfigWebTool/src/main/resources | |
parent | 758b9760bc018319eec916103e5e73385c2a4c4b (diff) | |
parent | 07e74546f01f69545b77518e0e651b43a4e04e91 (diff) | |
download | moa-id-spss-4b890232cc2ef904ede71663abb4fb5f3d8be7e8.tar.gz moa-id-spss-4b890232cc2ef904ede71663abb4fb5f3d8be7e8.tar.bz2 moa-id-spss-4b890232cc2ef904ede71663abb4fb5f3d8be7e8.zip |
Merge branch 'moa-2.1-Snapshot' of gitlab.iaik.tugraz.at:afitzek/moa-idspss into vidp_2.1_bs
Diffstat (limited to 'id/ConfigWebTool/src/main/resources')
-rw-r--r-- | id/ConfigWebTool/src/main/resources/struts.xml | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml index 9a098da5a..55490788d 100644 --- a/id/ConfigWebTool/src/main/resources/struts.xml +++ b/id/ConfigWebTool/src/main/resources/struts.xml @@ -6,10 +6,23 @@ <struts> <constant name="struts.custom.i18n.resources" value="webpages" /> + <constant name="struts.mapper.action.prefix.enabled" value="true" /> + <constant name="struts.mapper.action.prefix.crossNamespaces" value="false" /> <package name="default" namespace="/" extends="struts-default"> - <default-interceptor-ref name="defaultStack"/> + + + <interceptors> + <interceptor-stack name="OwnStack"> + <interceptor-ref name="defaultStack" /> + <interceptor-ref name="params"> + <param + name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> + </interceptor-ref> + </interceptor-stack> + </interceptors> + <default-interceptor-ref name="OwnStack"/> <action name="index" method="start" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction"> <result name="success">/index.jsp</result> @@ -69,7 +82,16 @@ <package name="secure" namespace="/secure" extends="struts-default"> - <default-interceptor-ref name="defaultStack"/> + <interceptors> + <interceptor-stack name="OwnStack"> + <interceptor-ref name="defaultStack" /> + <interceptor-ref name="params"> + <param + name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> + </interceptor-ref> + </interceptor-stack> + </interceptors> + <default-interceptor-ref name="OwnStack"/> <action name="index"> <result type="redirectAction"> |