Thanks ! /Peter
----- Original Message ----- From: "Kalnichevski, Oleg" <[EMAIL PROTECTED]> To: "Commons HttpClient Project" <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 11:50 AM Subject: RE: Httpclient not working Peter, The CVS HEAD contains development version of HttpClient (post 2.0 pre-alpha-1) which is incompatible with 2.0 API. Please use the samples shipped with the release package or check out the stable version (2.0) from the HTTPCLIENT_2_0_BRANCH Hope this helps Oleg -----Original Message----- From: Peter Andersén [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 11:43 To: [EMAIL PROTECTED] Subject: Httpclient not working Sorry missed the first on. So im still new to this. Why is this example not working I took the BasicAuthExample from the CVS database But it stops on this when trying to compiling. HttpClient client = new HttpClient(); client.getState().setCredentials("realm","portal.internetborder.se",new UsernamePasswordCredentials("username", "password")); ////// THIS GIVES ME ERROR STATING THAT THIS METHOD DOES NOT EXSIST Help someone how understand this httpClient ! Regards Peter **************************************************************************** *********************** The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system. **************************************************************************** *********************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]