From the HTML, I grabbed the line src="member/login" and sent a request to
it and, the response said "400 Bad Request".

The problem is solved by adding a prefix to the address like this, "/member/login":

  // uri = "member/login"
  if (uri.charAt(0) != '/')
     uri = "/" + uri;

  // uri = "/member/login"


Do we have to do this programmatically?
* I'm afraid if I have overlooked some useful HttpClient features to make the code better.


_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/


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



Reply via email to