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

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 UTC