tomcat submits twice?

2003-11-10 Thread Guru Mandavia
Hi,
 I know the forum has a lot of questions about requests being submitted 
twice.  I have implemented some of the solutions mentioned in there but 
the problem still persists. 

I have implemented a javascript solution which greys out the submit 
button rendering it unclickable on the first click.  But even then, I am 
still getting multiple database
insert requests.  Does anyone know of  any problem with tomcat actually 
stalling and submitting it twice?  Is this a browser specific issue?  I 
disabled javascript on my Mozilla browser and still cannot replicate the 
issue. 

I understand there is the solution of  using tokens for form 
processing.  Can someone please explain it concisely how to do it?  I 
cannot synchronize the actual DB insert  method but other than that all 
solutions are game. 

Thx,
Guru


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat submits twice?

2003-11-10 Thread Justin Ruthenbeck
At 07:01 AM 11/10/2003, you wrote:
Hi,
 I know the forum has a lot of questions about requests being submitted 
twice.  I have implemented some of the solutions mentioned in there but 
the problem still persists.
I have implemented a javascript solution which greys out the submit 
button rendering it unclickable on the first click.  But even then, I am 
still getting multiple database
insert requests.
Before thinking about solutions to your problem, do you know exactly 
what's happening to cause your multiple insert statements?  Perhaps there 
are two requests coming from the browser, but from your email it doesn't 
sound like you're even sure of this.  Have you verified that you really 
are receiving two separate requests for the same insert?  Can you 
reproduce it at will?

justin 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]