struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Longwell <>
Subject Re: Splash Screen in Struts
Date Tue, 15 Jul 2003 20:27:23 GMT

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 


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?
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message