Hello Ashish,

Monday, March 26, 2001, 10:53:50 AM, you wrote:

AA> I have a servlet that accepts input from the user, and
AA> then calls another servlet that performs an extremely
AA> long process and is then required to display the
AA> results on the browser.
AA> However, since this process is a long one, the browser
AA> eventually times out while executing the second
AA> servlet. The process however, continues at the
AA> background, but I am not able to see the results.

AA> How is it possible to display a temporary page saying
AA> that 'processing is underway' and then eventually
AA> display the results ?

hahahahhaa

put

<meta http-equiv="Pragma" content="no-cache">
<meta HTTP-EQUIV="refresh" Content="20;  HREF=/servlet/yourservlet">

in the reply form, and it will reload every 20 seconds to show some
nice "progress bar". Of course, when the processing will be finished,
you can put some nice page!


--
Alexander Fedorov
Software developer
Adcore
Wibautstraat 120
1091 GP Amsterdam
the Netherlands
tel: +31 (0)20 561 1825
fax: +31 (0)20 5611701 or +31 (0)20 5611849
e-mail: mailto:[EMAIL PROTECTED]
www.adcore.nl

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6

mQEPAzp+jaIAAAEIAKB37EITxsVevyCDd9hOmtLhyzncJZ94UIhi/yflAk8c3xr+
1lFkXpXrs7PhmzTzzojmJQulUIBwV8IHVi3P3sua4PpcRWtAzbGfP4G4rsGcBKdi
09xkELSEtfICsBU3/haQQIB2UH/T/zAefFaRj3XRI/Mqwhz1v6uqwy3zWtKpJWVE
RpeA6ShMd+w7Gp5NvsomUjEpZRIZLWBHpcbjsn34A1VLUMw272e2o9ndV91nDcFf
SFZQpNCUdhM7eM9x4ab6pIrLkWlvDehQnBAyXs95Zxviwhmd37fBWM4MA3V9GsLv
ZxJ1WmmPyu4Hv/7tTYNDSlODHYU5jIZg+jBbvJUAEQEAAbQwQWxleGFuZGVyIEZl
ZG9yb3YgPGFsZXhhbmRlci5mZWRvcm92QGFkY29yZS5jb20+
=Ak1z
-----END PGP PUBLIC KEY BLOCK-----

___________________________________________________________________________
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