connect via proxy

2003-08-14 Thread Querent
Dear all, My program is using Get and Post method in HttpClient. The program works if the internet connection is using dial up. But not if using proxy. Do I have to set up proxy manually in the program ? (my proxy doesn't need authentication) Can it just detect the connection from the browsers

Re: connect via proxy

2003-08-11 Thread Michael Becke
Hi Quent, Yes, proxy configuration must be manually set. This can be done using something like: HttpClient client = new HttpClient(); client.getHostConfiguration().setProxy("hostname", 123); GetMethod get = new GetMethod("http://somehost.com";); client.executeMe