This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
 
GeeCON Prague 2014
 
subject: Disable button on form submission or click