----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------



Unfortunately, that's the matter: there's absolutely no exception when the
connection is closed by the client while reading on the stream! The read()
call is really blocked... In fact, i'm not sure that the socket used between
Jserv and the Apache Http server is closed... seems that the web server
misses to close it...

Tx for your response,
Daniel.

>
> Hi, Deniel:
>
> I think when you try read something from client from
> servletQequest, during
> reading, if client disclose connection, and you are still try to read, you
> will get exception. So you should catch this IOException, do what you want
> to process, for example, clean current data. after that end
> doPost or doGet.
> This means I did not do anything about this request because this is not a
> complete request.
>
> I am not sure if I understanding your question correctly.
>
> Boxin Dai
> Software Designer
>
> Infospace
> 3026 Solandt Road                Tel:      (613) 270-5452
> Kanata, Ontario                  Cell:     (613) 261-5552
> Canada K2K 2A5                   Fax:      (613) 765-5411
> www.infospace.com                Email:    [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: Daniel Montalibet [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 17, 2000 11:50 AM
> To: Java Apache Users
> Subject: Please...
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> All,
>
> Once again I post an email on this list to query your help...
> I'm still facing a major problem to handle client disconnection while my
> servlet reads some data from it (this occurs when uploading data and the
> client cancels the upload). As I told (5 times in this list), I'm not
> notified on servlet side that the connection has been closed by
> the client,
> this blocking my servlet on a read() call.
>
> What I need is, this time, just have a (or more) response(s)... please....
> Am I the only one that face this trouble ? Please... respond... yes, no or
> don't know...
>
> Sorry to bother you this probably stupid problem... but I don't understand
> it... so can't try to find a fix... :-(
>
> Daniel.
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to