Commits

jcarreira  committed d06ddb1

WW-252: Create a webwork-default.xml to define common config

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@10573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits a2c9bb7

Comments (0)

Files changed (1)

File src/java/webwork-default.xml

+<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://www.opensymphony.com/xwork/xwork-1.0.dtd">
+
+<xwork>
+    <package name="webwork-default">
+        <result-types>
+            <result-type name="dispatcher" class="com.opensymphony.webwork.dispatcher.ServletDispatcherResult"/>
+            <result-type name="redirect" class="com.opensymphony.webwork.dispatcher.ServletRedirectResult"/>
+            <result-type name="velocity" class="com.opensymphony.webwork.dispatcher.VelocityResult"/>
+            <result-type name="chain" class="com.opensymphony.xwork.ActionChainResult"/>
+        </result-types>
+
+        <interceptors>
+            <interceptor name="timer" class="com.opensymphony.xwork.interceptor.TimerInterceptor"/>
+            <interceptor name="logger" class="com.opensymphony.xwork.interceptor.LoggingInterceptor"/>
+            <interceptor name="chain" class="com.opensymphony.xwork.interceptor.ChainingInterceptor"/>
+            <interceptor name="static-params" class="com.opensymphony.xwork.interceptor.StaticParametersInterceptor"/>
+            <interceptor name="params" class="com.opensymphony.xwork.interceptor.ParametersInterceptor"/>
+            <interceptor name="model-driven" class="com.opensymphony.xwork.interceptor.ModelDrivenInterceptor"/>
+            <interceptor name="component" class="com.opensymphony.xwork.interceptor.component.ComponentInterceptor"/>
+            <interceptor name="token" class="com.opensymphony.webwork.interceptor.TokenInterceptor"/>
+            <interceptor name="token-session" class="com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor"/>
+            <interceptor name="validation" class="com.opensymphony.xwork.validator.ValidationInterceptor"/>
+            <interceptor name="workflow" class="com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor"/>
+            <interceptor-stack name="defaultStack">
+                <interceptor-ref name="timer"/>
+                <interceptor-ref name="logger"/>
+                <interceptor-ref name="static-params"/>
+                <interceptor-ref name="params"/>
+            </interceptor-stack>
+            <interceptor-stack name="validationWorkflowStack">
+                <interceptor-ref name="defaultStack"/>
+                <interceptor-ref name="validation"/>
+                <interceptor-ref name="workflow"/>
+            </interceptor-stack>
+        </interceptors>
+    </package>
+</xwork>