tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eric Miller" <tom...@shark.uchicago.edu>
Subject Re: Possible to return multiple responses/pages for a request?
Date Wed, 22 Aug 2001 01:36:18 GMT
I have a book named Java Servlet Programming which mentions a class called
MultipartResponse that looks like it might do what I want, but, it says that
IE doesn't support it. Also, it seems to be using a class provided by
oreilly. It would be nice to be able to handle the problem in a synchronous
fashion.

Jon

----- Original Message -----
From: "Shunsuke Masuda" <smasuda@pp.iij4u.or.jp>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, August 21, 2001 8:06 PM
Subject: Re: Possible to return multiple responses/pages for a request?


> 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