W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: Can jigsaw stop a servlet while the servlet is running?

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 30 Apr 1999 14:13:23 +0200
Message-ID: <37299E63.DE1C99DF@sophia.inria.fr>
To: f.cameron@ulst.ac.uk
CC: www-jigsaw@w3.org
If the client cut the connection, you should get an IOException the
next time you write something in the OutputStream.

Regards, Benoit.

Fiona Cameron wrote:

> I have a servlet running on jigsaw.  If a remote user activates
> the servlet from a web browser, then decides to click the Stop
> button on the web browser before processing has finished,  the
> transfer is interrupted to the user's web browser, but the
> servlet continues to run until it has finished (it writes alot of
> stuff to a database).
>
> Is there a way to get jigsaw to pass the message that the transfer has
> been interrupted by the user to the servlet and get it to stop
> processing immediately?
>
> Thanks for any info,
>
> Fiona
> Fiona Cameron
> Computing Officer, Faculty of Informatics, University of Ulster
> email: f.cameron@ulst.ac.uk  phone:  01232-366677

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Friday, 30 April 1999 08:13:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT