tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shunsuke Masuda" <smas...@pp.iij4u.or.jp>
Subject Re: Possible to return multiple responses/pages for a request?
Date Wed, 22 Aug 2001 01:06:49 GMT
Hello,

I have the same requirement on the current project.

What I am doing is to use threads  for heavy tasks and
let browsers reload by "<meta .... Refresh....>".
References to the threads are setAttr'ed into HttpSession,
and a servlet checks on each reload whether or not the
threads complete.

Shunsuke Masuda

----- Original Message -----
From: "Jonathan Eric Miller" <tomcat@shark.uchicago.edu>
To: "Tomcat User List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, August 22, 2001 6:48 AM
Subject: Possible to return multiple responses/pages for a request?


> I'm wondering if it is possible to return multiple responses/pages from a
> given request?
>
> I have a servlet that performs some processing after a form is submitted
to
> it. This processing sometimes takes several seconds to complete. What I
want
> to do is first display a page which says "Processing your request, please
> wait..." Then, after the processing is done, I want to display another
page.
> The second page should replace the first page in the user's browser.
>



Mime
View raw message