On Fri, Jan 30, 2009 at 11:33 AM, Parvat Singh Ranawat
<mailtopar...@gmail.com> wrote:
> Hi,
> Can I stop the calling of action on click of refresh button as on this
> action it will generate a report at some specified location.
> So on every refresh click will generate a new report at that location which
> is unacceptable.
>
> So is there any way to stop calling the action/ have one flag on action
> which determines this part of code in action need not be executed on click
> on refresh button.

For this action you might want to use the Execute and Wait
interceptor[1] and/or the Redirect Action Result [2].

Cheers,
-Ralf

[1] http://struts.apache.org/2.1.6/docs/execute-and-wait-interceptor.html
[2] http://struts.apache.org/2.1.6/docs/redirect-action-result.html

>
> Regards,
> Shakti
>

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

Reply via email to