Hello Keith,
> }
> finally {
> getMethod.releaseConnection();
> }
> }
>
> // Transaction to prepare for content upload
> System.out.println("contentStream 3: " + contentStream);
> try {
> System.out.println("22 Read byte " +
contentStream.read());
> } catch (Exception e) {
> System.out.println("22 Failed to read bytes");
> }
You can NOT read from the connection after releasing it.
See my previous mail below.
cheers,
Roland
> -----Original Message-----
> From: Roland Weber [mailto:[EMAIL PROTECTED]
>
> The stream is connecting your client to a server. It can be closed
> by your application reading to EOF,
***********************************
> by your application releasing
> the connection you used for executing the GET method,
***********************************
> or by the
> server. You have to provide more specific information about what you
> are doing if you want us to help.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]