The way I handle this is to use javascript to disable the submit button after it has been clicked. This used in conjuction with the other suggestions should cover all possibilities
-----Original Message----- From: Elihu Smails [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 7:13 PM To: Tomcat User List Subject: prevent multiple form posts using only servlets Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their files are large, and the user becomes impatient. thank you. __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]