Hello,

> I'm moving from httpclient 2.0.2 to 3.0 and I found that with the 3.0 
lib I
> have to explicitly open the HTTPConnection before I execute the 
POSTMethod,
> with the 2.0.2 lib the HTTPConnection opened when the POSTMethod 
executed.
> Does that sound correct or did I miss something?

You're not supposed to call method.execute(...) at all.
You should be calling client.executeMethod(method,...), then
the HttpClient will take care of opening the connection.

hope that helps,
  Roland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to