diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-10-28 12:39:57 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-10-28 12:39:57 +0100 |
commit | 576f0cd61a686576267c05792d42b69ecbaf4b53 (patch) | |
tree | ca770fa5e46011a42f4af810d61711e56b021502 /id/ConfigWebTool/src/main/resources | |
parent | 531fab97aa55264cd1f1cd7c4d66f9c03eea8a1d (diff) | |
download | moa-id-spss-576f0cd61a686576267c05792d42b69ecbaf4b53.tar.gz moa-id-spss-576f0cd61a686576267c05792d42b69ecbaf4b53.tar.bz2 moa-id-spss-576f0cd61a686576267c05792d42b69ecbaf4b53.zip |
add STRUTS2 interceptor for hibernate session management
Diffstat (limited to 'id/ConfigWebTool/src/main/resources')
-rw-r--r-- | id/ConfigWebTool/src/main/resources/struts.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml index 68cd85b2f..74ef3be10 100644 --- a/id/ConfigWebTool/src/main/resources/struts.xml +++ b/id/ConfigWebTool/src/main/resources/struts.xml @@ -16,7 +16,10 @@ <interceptors> + <interceptor name="HibernateSessionInterceptor" class="at.gv.egovernment.moa.id.configuration.struts.interceptor.HibernateSessionInterceptor"/> + <interceptor-stack name="OwnStack"> + <interceptor-ref name="HibernateSessionInterceptor" /> <interceptor-ref name="params"> <param name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> @@ -85,7 +88,10 @@ <package name="secure" namespace="/secure" extends="struts-default"> <interceptors> + <interceptor name="HibernateSessionInterceptor" class="at.gv.egovernment.moa.id.configuration.struts.interceptor.HibernateSessionInterceptor"/> + <interceptor-stack name="OwnStack"> + <interceptor-ref name="HibernateSessionInterceptor" /> <interceptor-ref name="params"> <param name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> |