Magesh,
        Normally this would not be a problem, even when the user hits the submit
button multiple times expecially if you are using a connection pool. There
is a way to prevent the using from hitting the submit button multiple time
by using a short javascript (It only takes the first submit request). I use
it on my site and you can view it at www.blueads.com

Tom Kochanowicz


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Mageshkumar Maruthapillai
Sent: Monday, March 27, 2000 7:58 AM
To: [EMAIL PROTECTED]
Subject: Servlet Threading issue question


Hi,

I have an a sample form which posts to a servlet say. Well, due to

slow internet connections etc.. the servlet response takes some time to

reach the browser. An impatient user can press the submit button many times.

Say 20. Does this mean that for from this particular user there will be 20
concurrent

threads excecuting concurrently in the servlet instance.

Will this cause a synchronisation problem w.r.t. individual user session
data.??

I think it should. Does the Servlet container serialize multiple requests
for the

same servlet instance from the same client browser????

Any answers towards this rather overlooked problem is appreciated.

Thanks,

Magesh.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to