Sunday, June 26, 2011

Java Proxy settings..!

Simple way to configure the JVM to use the proxy in the network

System.getProperties().put( "http.proxyHost", "10.0.0.1" );
System.getProperties().put( "http.proxyPort", "3128" );

No comments:

Post a Comment