struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Longwell <listse...@newmedialogic.com>
Subject Re: Splash Screen in Struts
Date Tue, 15 Jul 2003 20:27:23 GMT
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: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message