Hi.

A question just out of curiosity. Is it possible to set an interceptor parameter on the package level.

For example I have a couple interceptor stacks more or less like this:

<interceptor-stack name="myParamsPrepareParamsStack">
    <interceptor-ref name="logger" />
    <interceptor-ref name="i18n"/>
    <interceptor-ref name="sprache"/>
    <interceptor-ref name="paramsPrepareParamsStack">
        <param name="exception.logEnabled">true</param>
        <param name="exception.logLevel">ERROR</param>
    </interceptor-ref>
    <interceptor-ref name="init" />
</interceptor-stack>

I want the Parameters for the ExceptionMappingInterceptor to be present in all interceptor stacks:

<param name="exception.logEnabled">true</param>
<param name="exception.logLevel">ERROR</param>

Is it possible to set them somewhere just once on a global or package level?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to