You certainly have accomplished that with

<default-interceptor-ref name="paramsPrepareParamsStack"/>

however, Li is right; you did not need to redefine that stack, as it's in
the default xml file in struts-core.  Now then, you will only see this stack
associated with actions in *this* package or it's sub-pacakges and I don't
see any actions defined therein.  You are likely browsing actions defined in
the config-browser itself.

Peace,
Scott

On Thu, Nov 18, 2010 at 6:32 AM, RogerV <roger.var...@googlemail.com> wrote:

>
>
>
> Li Ying wrote:
> >
> > Why you define "paramsPrepareParamsStack" again?
> >
> > I believe it is already defined in the default configuration file,
> >
> > you can just use it.
> >
>
> That's what I think I'm trying  to do with the struts.xml ;
>
> <struts>
>
>
>    <constant name="struts.enable.DynamicMethodInvocation" value="true" />
>    <constant name="struts.devMode" value="true" />
>    <constant name="struts.objectFactory"
> value="org.apache.struts2.spring.StrutsSpringObjectFactory" />
>
>        <package name="default" namespace="/" extends="struts-default">
>        <interceptors>
>        <interceptor-stack name="paramsPrepareParamsStack">
>                <interceptor-ref name="exception"/>
>                <interceptor-ref name="alias"/>
>                <interceptor-ref name="i18n"/>
>                <interceptor-ref name="checkbox"/>
>                <interceptor-ref name="multiselect"/>
>                <interceptor-ref name="params">
>                    dojo\..*,^struts\..*
>                </interceptor-ref>
>                <interceptor-ref name="servletConfig"/>
>                <interceptor-ref name="prepare"/>
>                <interceptor-ref name="chain"/>
>                <interceptor-ref name="modelDriven"/>
>                <interceptor-ref name="fileUpload"/>
>                <interceptor-ref name="staticParams"/>
>                <interceptor-ref name="actionMappingParams"/>
>                <interceptor-ref name="params">
>                    dojo\..*,^struts\..*
>                </interceptor-ref>
>                <interceptor-ref name="conversionError"/>
>                <interceptor-ref name="validation">
>                    input,back,cancel,browse
>                </interceptor-ref>
>                <interceptor-ref name="workflow">
>                    input,back,cancel,browse
>                </interceptor-ref>
>            </interceptor-stack>
>          </interceptors>
>        <default-interceptor-ref name="paramsPrepareParamsStack"/>
>
>    </package>
>
>
> </struts>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Interceptor-Stack-config-tp30239747p30247343.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to