Hello Naresh,

> Yes I am authenticating with NTLM against the server, and successfully
> get back a redirect (when I do getResponseBodyAsString on the getMethod
> the index page content is displayed). As you said how should I use
> HttpState for redirection any idea on the same?

Unless you manage HttpState explicitly, the default state is
kept in the HttpClient object. Make sure to create only one
HttpClient and use that for all requests.

> For your reference I am attaching the source so that you can correct me
> if something is wrong with this code?

Attachments will be filtered by the mailing list software.
You have to send code samples inline.

hope that helps,
  Roland

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

Reply via email to