Hello:
I'm upgrading from Struts 2.3.4.1 to Struts 2.3.16.2. I've found that my previous solution
for preventing double submits no longer works.
I get the following warning:
...ParametersInterceptor.warn:56 - Parameter [struts.token.name] is on the excludeParams list
of patterns!
It's unclear to me how to resolve this problem.
I'm using struts.xml to define the action workflow. How can I fix this problem?
-------
<action name="myAction" class="com.example.MyActionClass" method="myMethodToInvoke">
<!-- Prevent double submits -->
<interceptor-ref name="tokenSession"/>
<interceptor-ref name="defaultStack"/>
<result name="input">/WEB-INF/jsp/input.jsp</result>
<result name="success" type="redirect">
<param name="location">http://example.com</param>
</result>
...
</action>
-------
Thank you for your time.
John Boyer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|