title: httpclient returns response of the login page and not the requested page but returns 200 ok as the status code
body: <p>I have a java class which attempts to autologin to a website. The status code shows 200 OK and i read the 200OK is for successful HTTP requests and In a POST request  that I use,the response will contain an entity describing or containing the result of the action.
  But the response i get is still the html of the sigin page not the logged in page. This tells me that im not successfully logged in. What are the possibilites for this to go wrong?</p>