diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-04-02 15:28:09 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-04-02 15:28:09 +0200 |
commit | 88090f446e0289d5ad303e07ce6ddb48daffff32 (patch) | |
tree | 7d6df59ba6a05ec2f9c96c8a520a43a7d9d4c914 /id/ConfigWebTool/src/main | |
parent | a3d0dab1f60a3dec2cfb0a147e4ee29e106a2c33 (diff) | |
download | moa-id-spss-88090f446e0289d5ad303e07ce6ddb48daffff32.tar.gz moa-id-spss-88090f446e0289d5ad303e07ce6ddb48daffff32.tar.bz2 moa-id-spss-88090f446e0289d5ad303e07ce6ddb48daffff32.zip |
add i18n intercepter
allow struts language parameter
Diffstat (limited to 'id/ConfigWebTool/src/main')
-rw-r--r-- | id/ConfigWebTool/src/main/resources/struts.xml | 6 | ||||
-rw-r--r-- | id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml index 55490788d..384a0e51e 100644 --- a/id/ConfigWebTool/src/main/resources/struts.xml +++ b/id/ConfigWebTool/src/main/resources/struts.xml @@ -19,7 +19,8 @@ <interceptor-ref name="params"> <param name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> - </interceptor-ref> + </interceptor-ref> + <interceptor-ref name="i18n"></interceptor-ref> </interceptor-stack> </interceptors> <default-interceptor-ref name="OwnStack"/> @@ -88,7 +89,8 @@ <interceptor-ref name="params"> <param name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> - </interceptor-ref> + </interceptor-ref> + <interceptor-ref name="i18n"></interceptor-ref> </interceptor-stack> </interceptors> <default-interceptor-ref name="OwnStack"/> diff --git a/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml index b55e97f23..3919d3ff3 100644 --- a/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml +++ b/id/ConfigWebTool/src/main/webapp/WEB-INF/web.xml @@ -24,7 +24,7 @@ </init-param> <init-param> <param-name>allowed</param-name> - <param-value>^.*((/index.action)|(/error.action)|(/authenticate.action)|(/pvp2login.action.*)|(/mailAddressVerification.action.*)|(/logout.action)|(/jsp/.*)|(/css/.*)|(/servlet/.*)|(/images/.*)|(/js/.*))$</param-value> + <param-value>^.*((/index.action.*)|(/error.action.*)|(/authenticate.action.*)|(/pvp2login.action.*)|(/mailAddressVerification.action.*)|(/logout.action)|(/jsp/.*)|(/css/.*)|(/servlet/.*)|(/images/.*)|(/js/.*))$</param-value> </init-param> </filter> <filter-mapping> |