File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes problem with submit button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "problem with submit button" Watch "problem with submit button" New topic

problem with submit button

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

hi all,

i have some problem with submit button...the thing is that i want control hitting the submit button two times.

please tell some ideas

thanks & regards,

dhwani mathur
Ranch Hand

Joined: May 08, 2007
Posts: 621
Hi thr

Could you please ellaborate and explain
about your problem on submit button
what actualy you are intending to controll
by hitting the submit button two times
and where you are getting stucked.
It will be a bit easier to help.

Dhwani:>Winning is not important but it is the only thing.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

The simplest thing to do is disable the button using Javascript when it it clicked.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Khushwinder Chahal
Ranch Hand

Joined: Oct 03, 2007
Posts: 128
This is not the right solution i think.
You should read this topic if you want to know about this problem in detail:

I agree. Here's the link:
subject: problem with submit button
jQuery in Action, 3rd edition