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?

 

How can I correct this?

 

Thanks & Regards

 

Shyam

 

Reply via email to