Hi,
we have this functionality on our site.  What we did is create the
"processing your request page" called by the requesting page.  When the
"processing your request page" JSP/html page is loading we call a JavaScript
function in the body onload event which calls the document.JJJ<form
name>.submit()function.  So the "processing your request page" page is
loaded but has sent the request for the other page in <FORM NAME = "JJJ"
ACTION="main.jsp">...

Marc

-----Original Message-----
From: Jackson Ching [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 9 August 2000 9:51 AM
To: [EMAIL PROTECTED]
Subject: Re: "Loading page" Message


        what i want is to send two html page to the user first the "please
wait" which of course is faster to send, while waiting for the process in
the server side to finish and generate another html page and throws it back
to the user. I want to do this so that the user will know that server has
acknowledge the request and asking you to wait for a while while processing.
I was thinking more on sending two dynamic html page with one request. The
"please wait" page is just a dummy page that will let the user know
something is being done on the server. Hope this makes it clear =)  Is there
a way for this?  Thank you.

Jack

*********** REPLY SEPARATOR  ***********

On 8/8/00 at 9:20 AM Polley Christopher W wrote:

# Re-reading your question, I think that in your case, you would want to
have
# the page delivering the "Wait" message actually return a progress status
# (however you want to measure it) from a worker thread that is calculating
# the data, and refresh back to itself, until the data is ready, when it
would
# refresh to a servlet that delivers the data.
#

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to