File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disable button on form submission or click