For a java desktop application after we set these properties
System.setProperty("java.net.useSystemProxies","true");
System.setProperty("http.proxyHost", "1.1.1.1");
System.setProperty("http.proxyPort", "8080");
every http connection will be done through the defined proxy.
But for an applet these does not work.(In an applet viewer it does but in a browser it doesnt.) Applet always uses these settings which are defined in control panel\java\network settings\proxy settings.
How can i set the proxy in an applet? (Using proxy class in every opening connection is not a solution for me.)
Applet is signed and compiled with java 1.6