shyam wrote:
Hi All,

I am trying to execute a Post method to login using Username and Password to
a site, using HttpClient.

I am getting status 301 object moved permanently.

Then when I try to execute Get method on the Location, It is showing the
following exception:-

org.apache.commons.httpclient.CircularRedirectException: Circular redirect
to'

Can you please tell me why this is happening?


Post a complete wire / context log of the session

http://hc.apache.org/httpclient-3.x/logging.html

Oleg




How can I correct this?

Thanks & Regards

Shyam




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to