tropo://techno/java proxy woes
Java Proxy Woes




Problems w/ loading applets with Netscape thru a proxy? Put this line:

    user_pref("security.lower_java_network_security_by_trusting_proxies", true);

In c:\program files\netscape\users\YOU\prefs.js

The relevant URL is http://developer.netscape.com/library/technote/security/sectn3.html

Another mystery is how to tell the VM to use a proxy. Here's one URL: http://java.sun.com/docs/books/tutorial/networking/urls/_setProxy.html

Here's a code fragment that uses 3 property settings.


        Properties p=System.getProperties() ;
	p.put("proxySet",  "true");
	p.put("proxyHost", "myproxy");
	p.put("proxyPort", "80");
Other times the properies are named http.proxyHost and http.proxyPort.




[ java   tropo ]