I used a simple trick to achieve this in an app I was working on, where the submission went through a JavaScript method that would end by calling form.submit(). Just before doing this it would change the css style on a hidden section of the page to reveal the "please wait" message. It would also hide the section containing the form contents and the submit button. This gives quite nice feedback to the user making the app feel more responsive, as the screen changes on the instance they click the button (even though the next page doesnt come up for a couple of seconds). There are of course several drawbacks to this method: * It needs JavaScript (and has potential compatibility issues with older browsers) * If the user clicks stop the message remains there - they will have to reload the page to be able to use it again.
-----Original Message----- From: Shubha [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 November 2003 18:01 To: Struts Users Digest Mailing List Subject: Displaying status messages on the browser while action is executed... Hi, I need to display a progressing status message during the time it takes to execute an action, after a button click, and return to the form with the appropriate data. So essentially it involves displaying a status message in the browser as soon as the button is clicked. The message continues to be displayed till the form is loaded afresh. Could somebody please help me with that? Thanks and regards, Shubha. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]