I would recommend redirecting to another action/jsp after the form post (PRG
pattern).
> Date: Sun, 1 Feb 2009 12:55:23 +0530
> Subject: Re: How to stop action getting called on click of refresh button
> From: go4m...@gmail.com
> To: user@struts.apache.org
>
> >
>
>
> 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 I think Token and/or Token Session interceptors will do the magic.
http://struts.apache.org/2.1.6/docs/token-in
On Fri, Jan 30, 2009 at 11:33 AM, Parvat Singh Ranawat
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 unacceptabl
3 matches
Mail list logo