> From: Stéphane Hanser [mailto:[EMAIL PROTECTED] 
> However, removing some synchronized blocks will cause 
> concurrent access
> issues when a user "mass clicks". Is it possible to configure 
> tomcat to
> queue one's requests instead of executing the in parallel ?

Not in all cases.  The browser is free to make new requests to a web server; it 
would be up to your code to detect that they came from the same session and 
take appropriate actions.  In general, if a user mass-clicks, you actually want 
to process the most recent as the browser will no longer take responses fr the 
older requests...

If you're concerned about multiple clicks on submit buttons, there are 
well-known ways to use Javascript to disable the button once the user clicks it 
the first time.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to