All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ruts.struts2-core.7.0.0.source-code.xwork-default.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
-->
<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 6.0//EN"
        "https://struts.apache.org/dtds/struts-6.0.dtd">
<struts>
    <package name="xwork-default" abstract="true">

        <result-types>
            <result-type name="chain" class="org.apache.struts2.result.ActionChainResult"/>
        </result-types>
        <interceptors>
            <interceptor name="logger" class="org.apache.struts2.interceptor.LoggingInterceptor"/>
            <interceptor name="chain" class="org.apache.struts2.interceptor.ChainingInterceptor"/>
            <interceptor name="staticParams" class="org.apache.struts2.interceptor.StaticParametersInterceptor"/>
            <interceptor name="params" class="org.apache.struts2.interceptor.parameter.ParametersInterceptor"/>
            <interceptor name="removeParams" class="org.apache.struts2.interceptor.ParameterRemoverInterceptor"/>
            <interceptor name="modelDriven" class="org.apache.struts2.interceptor.ModelDrivenInterceptor"/>
            <interceptor name="scopedModelDriven"
                         class="org.apache.struts2.interceptor.ScopedModelDrivenInterceptor"/>
            <interceptor name="validation" class="org.apache.struts2.validator.ValidationInterceptor"/>
            <interceptor name="workflow" class="org.apache.struts2.interceptor.DefaultWorkflowInterceptor"/>
            <interceptor name="prepare" class="org.apache.struts2.interceptor.PrepareInterceptor"/>
            <interceptor name="conversionError" class="org.apache.struts2.interceptor.ConversionErrorInterceptor"/>
            <interceptor name="alias" class="org.apache.struts2.interceptor.AliasInterceptor"/>
            <interceptor name="exception" class="org.apache.struts2.interceptor.ExceptionMappingInterceptor"/>
            <interceptor name="i18n" class="org.apache.struts2.interceptor.I18nInterceptor"/>

            <!--interceptor name="static-params" class="org.apache.struts2.interceptor.StaticParametersInterceptor"/>
            <interceptor name="remove-params" class="org.apache.struts2.interceptor.ParameterRemoverInterceptor"/>
            <interceptor name="model-driven" class="org.apache.struts2.interceptor.ModelDrivenInterceptor"/>
            <interceptor name="scoped-model-driven"
                         class="org.apache.struts2.interceptor.ScopedModelDrivenInterceptor"/-->

            <interceptor-stack name="emptyStack"/>

            <interceptor-stack name="defaultStack">
                <interceptor-ref name="staticParams"/>
                <interceptor-ref name="params"/>
                <interceptor-ref name="conversionError"/>
            </interceptor-stack>
            <interceptor-stack name="validationWorkflowStack">
                <interceptor-ref name="defaultStack"/>
                <interceptor-ref name="validation"/>
                <interceptor-ref name="workflow"/>
            </interceptor-stack>

        </interceptors>

        <default-class-ref class="org.apache.struts2.ActionSupport"/>

    </package>
</struts>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy