HttpServletRequest : How to stop it ?
843841Sep 22 2005 — edited Sep 22 2005Hi everybody,
I am implementing a server-side solution in ordre to prevent the "double click button" by a user.
Indeed, when a user clicks on a button, there is a filter that puts a session variable to true telling that a treatment is in progress.
And if he clicks a second time, the same filter gets this variable and see that there is already a treatment. So I'd like to "play" with the HttpServletRequest and stop the second one.
So, my question is the following : how can I "stop" a request, or redirect it ?
Thank you in advance for your help !!
bgOnline