aspose file tools*
The moose likes JSP and the fly likes Disable button on form submission or click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Disable button on form submission or click" Watch "Disable button on form submission or click" New topic
Author

Disable button on form submission or click

nir sharma
Ranch Hand

Joined: Sep 11, 2012
Posts: 72

How to disable button on click, and also prevent form resubmission on press of refresh button.
Pyla Rao
Ranch Hand

Joined: Jul 10, 2012
Posts: 50
Hi Sarma,

This thread may be help to achieve your task.
http://www.coderanch.com/t/58712/Struts/Handling-double-submission-Struts

Thanks,
Pyla.
nir sharma
Ranch Hand

Joined: Sep 11, 2012
Posts: 72

Not working, on click of refresh button the form is submitted again.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

We do have a FAQ on this: DoubleSubmitProblem
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disable button on form submission or click