Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HttpServletRequest : How to stop it ?

843841Sep 22 2005 — edited Sep 22 2005
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2005
Added on Sep 22 2005
1 comment
272 views