On Fri, Jan 30, 2009 at 11:33 AM, Parvat Singh Ranawat <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]

