Valli I've done something similar before in an intranet application, outside of struts. I had a page that displayed "Please Wait" and in that page I used
meta HTTP-EQUIV="Refresh" specifying the URL of the servlet that took a long time to run. I used a low refresh time (0 perhaps) and it seemed to work ok. Check out the meta element in some HTML reference. However you are of course wasting time here with all these requests. It worked ok on an intranet for me, not sure about an internet app. Perhaps there's a better way. Still there's no reason why you couldn't use this technique with struts. Quentin -----Original Message----- From: Sowbhagya Valli Suryadevara [mailto:[EMAIL PROTECTED]] Sent: 30 January 2003 10:57 To: 'Struts Users Mailing List' Subject: Automatic refresh - IS THIS POSSIBLE? HI, We are using the struts & tiles framework in our project. There is a particular request that consumes a lot of time (20 seconds). Instead of showing a blank page is it possible to show a "Please Wait " message while the processing is happening in the background. Then when the processing is over the page should come up automatically. IS THIS POSSIBLE? Valli --------------------------------------------------------------------- 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]