Roman Kennke wrote:
Hi,
2) Does the JDK support PAC files ? (Again, they know that applets and
webstart does, through the browser settings).
No this requires a javascript interpreter which we don't have in
standalone JDK.
No? Isn't javax.script an API for scripting, and actually has a
JavaScript interpreter underneath?
/Roman
Ok, I should have been a bit more specific I guess.
We didn't have a scripting engine when we introduced the ProxySelector
API back in 1.5
Even now it's still more complicated than that, since PAC files relies
also on a number of library functions like shExpMatch(), isInNet(),
dnsResolve() etc... which are not part of the engine per-se.
In any cases this would be a significant amount of work, but the good
news is that the ProxySelector framework has been designed to allow for
plugins.
begin:vcard
fn:Jean-Christophe Collet
n:Collet;Jean-Christophe
org:Sun Microsystems
adr:;;2 rue de Jargonnant;Geneva;;1207;Switzerland
email;internet:jean-christophe.col...@sun.com
title:Staff Engineer
x-mozilla-html:FALSE
version:2.1
end:vcard