Kibo wrote:
Hi

When you see struts-default.xml, you find out that the
paramsPrepareParamsStack call the interceptor params twice.

You can set up your struts-default.xml or in struts.xml define your own
modified interceptor stack:

<struts>
    <package name="manager" namespace="/" extends="struts-default">
<interceptors> <interceptor-stack name="myStack">
                <interceptor-ref name="exception"/>
                <interceptor-ref name="servletConfig"/>
                <interceptor-ref name="params"/>
                <interceptor-ref name="prepare"/>
<interceptor-ref name="checkbox"/> <interceptor-ref name="conversionError"/> </interceptor-stack>
        </interceptors>
<default-interceptor-ref name="myStack" /> ...

I thought the problem was Prepare being called twice, not Params. Anyway, there's no need to specify a custom stack to avoid having the Params interceptor called twice; the default stack only calls it once. The paramsPrepareParams stack is *intended* to call Params twice.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to