When I try to access directly (with a browser) the url I´m using to send the login parameters with httpclient, it returns an alert box:

"Error. This may be due to an unsupported browser.
See the mailing lists at http://www.getahead.ltd.uk/dwr/ for more information"




What is the problem? HttpClient typically follows redirects
automatically if configured to do that:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HttpMethod.html#setFollowRedirects(boolean)

There are few cases where HttpClient is not allowed to follow
the redirect without user interaction. In that case, your
application will get a 3xx response and you can take the
target URL from the "Location" header in the response.

hope that helps,
 Roland



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

Reply via email to