tomcat-users mailing list archives

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

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" <>
To: "Tomcat User List" <>
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
> it. This processing sometimes takes several seconds to complete. What I
> 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
> The second page should replace the first page in the user's browser.

View raw message