aspose file tools
The moose likes Other Open Source Projects and the fly likes Apache HttpClient - no response after executing post method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Apache HttpClient - no response after executing post method" Watch "Apache HttpClient - no response after executing post method" New topic
Author

Apache HttpClient - no response after executing post method

John Markus
Greenhorn

Joined: Oct 03, 2008
Posts: 1
My code (below) logs into a website, then post data to a form on a page only accessible after I log in. The first post (log in) succeeds, but I'm hung up on the second. I have included the wire logging after the code, so you can see that nothing seems to happen after I send the content for the second post method. Any suggestions?

My code hangs on

client.executeMethod(post2);




I tried to post the wire logging, but the software on this board has some pretty weird restrictions regarding posts. The last log in the wire logging is:

2008/10/03 20:48:38:421 CDT [DEBUG] EntityEnclosingMethod - Request body sent
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40495
    
  28
Ray N... please read the important administrative private message I have just sent you.

Cr
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Apache HttpClient - no response after executing post method