This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch http-interceptor
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 5cf1bfc16696d50788aee0ae0534bf1cf9bc6442
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sun Apr 20 22:35:18 2014 +0200

    Adds httpInterceptor to stacks
---
 core/src/main/resources/struts-default.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/core/src/main/resources/struts-default.xml 
b/core/src/main/resources/struts-default.xml
index aec2e0278..90657630e 100644
--- a/core/src/main/resources/struts-default.xml
+++ b/core/src/main/resources/struts-default.xml
@@ -89,6 +89,7 @@
             <interceptor name="multiselect" 
class="org.apache.struts2.interceptor.MultiselectInterceptor"/>
             <interceptor name="noop" 
class="org.apache.struts2.interceptor.NoOpInterceptor"/>
             <interceptor name="fetchMetadata" 
class="org.apache.struts2.interceptor.FetchMetadataInterceptor"/>
+            <interceptor name="httpMethod" 
class="org.apache.struts2.interceptor.httpmethod.HttpMethodInterceptor" />
 
             <!-- Empty stack - performs no operations -->
             <interceptor-stack name="emptyStack">
@@ -99,6 +100,7 @@
             <interceptor-stack name="basicStack">
                 <interceptor-ref name="exception"/>
                 <interceptor-ref name="servletConfig"/>
+                <interceptor-ref name="httpMethod"/>
                 <interceptor-ref name="prepare"/>
                 <interceptor-ref name="checkbox"/>
                 <interceptor-ref name="datetime"/>
@@ -160,6 +162,7 @@
                 <interceptor-ref name="multiselect"/>
                 <interceptor-ref name="params"/>
                 <interceptor-ref name="servletConfig"/>
+                <interceptor-ref name="httpMethod"/>
                 <interceptor-ref name="prepare"/>
                 <interceptor-ref name="chain"/>
                 <interceptor-ref name="modelDriven"/>
@@ -191,6 +194,7 @@
                 <interceptor-ref name="exception"/>
                 <interceptor-ref name="alias"/>
                 <interceptor-ref name="servletConfig"/>
+                <interceptor-ref name="httpMethod"/>
                 <interceptor-ref name="i18n"/>
                 <interceptor-ref name="csp">
                     <param name="disabled">false</param>

Reply via email to