"Kirkdorffer, Daniel" wrote:
> I believe that pressing the stop button on the browser will simply stop the
> browser from waiting for a response from the server. The request will
> probably run to conclusion on the server side. Then again, I'm not sure
> about that. I'd be interested to hear from someone who does.
>
> Dan
>
There is no mechanism in the HTTP protocol for the client to stop a request that is
in progress (in a browser, that would be via the STOP button). As Dan mentions,
the request will continue to be executed on the servIet is possible that the
servlet will encounter an I/O exception when it starts writing the response, but
you cannot count on this because of buffering or socket recycling going on
underneath the covers.
Craig McClanahan
>
> > ----------
> > From: Olga Penina[SMTP:[EMAIL PROTECTED]]
> > Reply To: Olga Penina
> > Sent: Monday, October 18, 1999 4:42 PM
> > To: [EMAIL PROTECTED]
> > Subject: "Stop" Button
> >
> > Is it an expected servlet behavior to recognize that the user hit the
> > "'Stop" button and cancel the pending operation?
> >
> > Olga Penina
> >
> > ==========================================================================
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html