Havent used it yet myself so dont have any code to show, but struts provides a token based mechanism which can be used to detect when the same page has been submitted twice and thus take appropriate action (such as showing an error message).
Have a look under 'tokens' in the struts documentation, and the archive and you should find that which you seek. hth Andrew -----Original Message----- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Friday, 30 January 2004 06:30 To: [EMAIL PROTECTED] Subject: stop user from clicking the submit button twice Hi I have a process which takes about 30 seconds, i want to show some kind of image or disable the submit button untill the process is complete and tell user that the process is running How can i do it, i m using struts1.1 any code example or article will greatly help Ashish (Some thing like the webspher5.0 web admin console, where it brings up a image when the user clicks button) ===== A$HI$H __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]