You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Sanoj, Antony (IE10)" <Sa...@honeywell.com> on 2004/04/12 16:13:18 UTC

RE: Displaying an in-progress page while navigating from one page to another

Hi,
	
  I have the same scenario in lots of list pages in my application.
What I have done is have an intemediate page, say loading.html, in which 
I put whatever message or gif I want the user to see. Now once this loading
page
loads, I fire the onload event of loading.html body. In this event's
handler, 
I submit a form to the actual action. So until the processing is done, you
will have the message page 
displayed to the user. This has worked for me very well. Hope it works for
you as well.

Regards, 
Sanoj Antony 


-----Original Message-----
From: Menke, John [mailto:John.Menke@acs-inc.com]
Sent: Monday, April 12, 2004 6:51 PM
To: 'Struts Users Mailing List'
Subject: RE: Displaying an in-progress page while navigating from one
pageto another


I had problems doing this as gifs stop animating after a submit at least in
IE the only env i tested.  (assuming you submit to your action on first page
and gif is located on same page and you go directly to destination page.

what i ended up doing is finding an applet for my animation and using
dynamic html to display the applet when the user clicks the submit button.
the applet continues to animate until the page comes back from the submit
and looks like a progress bar.

-jm 

-----Original Message-----
From: Prasad, Kamakshya [mailto:kprasad@capitalservicing.co.jp]
Sent: Sunday, April 11, 2004 11:58 PM
To: user@struts.apache.org
Subject: Displaying an in-progress page while navigating from one page
to another


Hi All,
 
In our system we have some pages which take lot of time to process
because of the complicated back end logic. So, sometimes the navigation
from one page to another page is very slow. 
What our client wants is to show an intermediate revolving gif with some
informative text in it before the next page loads.
 
What I heard that it's possible to put some links in header of HTML
which can show an intermediate page before the next page loads. Could
anyone let me know about HTML head option?
 
We are using struts framework for our web tier. So I want to know if
there are any options in struts to do so.
 
KP

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

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