Hi Christian, Here I am giving you the approach we implemented to handle this scenario.
We developed two separate presentations in two div of a html page before converting this page to JSP. One div (div1) of this just display "Please wait, Work in Progress" kind of message and second div (div2) contains the actual logic of processing. At the start of page somewhere, declare a JavaScript variable and by default make this variable false. By default show the visibility of div1 as true. Now at the end of page where all the processing has been done change the above declared variable as true. On change of this variable call a JavaScript function which will set visibility of div1 as false and div2 visibility as true. Then onwards, put your java code (scriptlet) into div2. Using this approach, we could smoothly implement please wait operation. Hope this will help you. - regards Raj (+91-11-31261821) -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christian Riedel Sent: Thursday, August 05, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: How to show a 'please wait' page while performing action Hi, I am trying to implement a page, that is shown during perfoming a file upload action. When the upload form is submitted I want a new page to be displayed showing a 'please wait' message. While this page is shown the actual file-upload should be performed and then, when the upload is finished, the actual 'result-page' should be shown. By now I can only submit the form. the file-upload starts and the page does not do anything until the upload is completed. So if the upload takes a long time the user does not really know what's happening. Can anyone help me with this? TIA Christian -- To reply to this posting directly use the following address and remove the 'NO-SPAM' part: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]