I need to know if the client browser is still actively awaiting a
response from the servlet or whether the users has pressed "stop",
clicked on someother link, etc.
With class PrintWriter (so the manual says), after attempting to send
data, a call to checxkError() should return "true" if the client has
stopped the request. But it's not working that way.
According to Java Servlet Programming, 2nd Ed. (Jason Hunter, published
by O'Reilly), p 159, the server is not required to throw an IOException
of set PrintWriter's error flag after the client disconnects, and
apparentlt that's what's happening to me.
I am running Tomcat 3.2.4 under Apache on Linux. Is this something
configurable? It's critically important that I be able to catch it.
Thanks,
Rob
_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
Rob Tanner
UNIX and Networks Manager
Linfield College, McMinnville OR
(503) 434-2558 <[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>