Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 38151 invoked by uid 500); 22 Aug 2001 01:36:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 38143 invoked from network); 22 Aug 2001 01:36:39 -0000 Received: from sparrow.uchicago.edu (HELO sparrow.secns.uchicago.edu) (128.135.168.100) by h31.sny.collab.net with SMTP; 22 Aug 2001 01:36:39 -0000 Received: from skate ([128.135.99.2]) by sparrow.secns.uchicago.edu over TLS secured channel with Microsoft SMTPSVC(5.0.2195.2966); Tue, 21 Aug 2001 20:36:18 -0500 Message-ID: <02e101c12aaa$d71d67c0$02638780@secns.uchicago.edu> From: "Jonathan Eric Miller" To: References: <01b101c12a8b$008ee4f0$02638780@secns.uchicago.edu> <006a01c12aa6$cb509c40$0201a8c0@brunhild> Subject: Re: Possible to return multiple responses/pages for a request? Date: Tue, 21 Aug 2001 20:36:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-OriginalArrivalTime: 22 Aug 2001 01:36:18.0517 (UTC) FILETIME=[D7213850:01C12AAA] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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" To: 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 "". > 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 > 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. > > > > >