Java 1.5 has a ProxySelector class. I don't know if the default one reads scripts or not, however if you are using webstart you might have a better chance.
Anyway, you could see if this works the way you want it to. If it does, maybe you could use this to figure out the correct proxy URL and then set the httpclient proxy with these settings. I would be interested to know your results. Mark -----Original Message----- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 6:22 AM To: HttpClient User Discussion Subject: RE: Proxy.pac > Can HTTPClient use it? Thanks Olec, I'll keep searching for a solution & let you lot know when I find one. Jeff Porter. -----Original Message----- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: 01 November 2006 10:38 To: HttpClient User Discussion Subject: RE: Proxy.pac > Can HTTPClient use it? On Wed, 2006-11-01 at 08:57 +0000, Jeffrey Porter wrote: > Any ideas? > > I'm still stumped. > > Jeff porter > Jeff, In short HttpClient does not support PAC files. Oleg > -----Original Message----- > From: Jeffrey Porter [mailto:[EMAIL PROTECTED] > Sent: 31 October 2006 15:29 > To: HttpClient User Discussion > Subject: Proxy.pac > Can HTTPClient use it? > > > > > > Hello all, > > > > My client has there proxy defined via a pac file. > > http://intranet.XXXXX.com/proxy.pac > > > > Can I pass this to HTTP client? Or do I have to download it myself & try > to workout which host/port to use. > > > > Jeff porter > > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]
