Aaron, what will happen when server action takes 1-5 min? user may get TIMEOUT ...
tnx -----Original Message----- From: Aaron Longwell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:27 PM To: Struts Users Mailing List Subject: Re: Splash Screen in Struts Dhruva, I have done this before.... the absolute cleanest implementation is almost 100% javascript: 1) Javascript submit(); call to start POST page loading 2) Javascript delete contents of the window (javascript:document.clear();) 3) Write new content to the window... adding in an <img> tag to a animated GIF (or, cooler a Flash movie) this is done with one call to document.write(str); You have to populate the str variable first because each document.write causes the window to be cleared and then rewritten. Item #2 is somewhat optional, but I like it for clarity and I'm a little weird. Aaron Dhruva B. Reddy wrote: >I have an Action that could potentially take a long time to execute, >and would like to display a splash screen until the results of the >action are ready. > >I went googling for this, but I can't seem to find a solution that >would fit within the Struts framework. Has anyone done this before? > >Thanks, >Dhruva > >__________________________________ >Do you Yahoo!? >SBC Yahoo! DSL - Now only $29.95 per month! >http://sbc.yahoo.com > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]