Hi Karthi,

So does the following code snippet perform what Mike have mentioned...
HttpClient client=new HttpClient(); // Which will create a SimpleHttpConnectionManager
// by default. So we need not create an explicit
//HttpconnectionManager


   // Perform post
      ..........
   //Release the connection
     postmethod.releaseConnection();
   // Close the socket connection
    client.getHttpConnectionManager().getConnection().close();

Is this the correct way of closing the connection.

That should work just fine.

Mike


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to