----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Daniel 

I haven't tried this, but my first thought would be to put the read in a
loop that checks for a null req.

You might have a look at the OReilly multipart request which reads the
file upload in chunks and checks for a null return before reading the next
chunk.

hth

Chris


On Thu, 17 Aug 2000 17:49:59 +0200, Daniel Montalibet wrote:

>----------------------------------------------------------------
>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]

Reply via email to