I'm trying to connect to a web application on my local server (
tomcat) using the HttpClient from this library commons-httpclient-2.0.2.jar.
I get this message even if I set followRedirects to true (httpMethod.setFollowRedirects(true)
2005/01/19 08:05:08:435 EST [INFO] HttpMethodBase - Redirect requested but followRedirects is disabled
java.lang.InternalError: the HTTP server return an error: 302 (Moved Temporarily)
I have no idea how to solve this problem. I tried to find out on the internet, I got nothing. And does it mean exactly?