This doesn't seem to work--nothing after the first submit() call gets
executed.

I assume you put all of this code in the onclick handler for the submit
button.

--- Aaron Longwell <[EMAIL PROTECTED]> wrote:
> 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]
> 


__________________________________
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]

Reply via email to