设置上网代理服务器 System.getProperties().put("proxySet","true"); System.getProperties().put("http.proxyHost","192.168.0.1"); System.getProperties().put("http.proxyPort","3228");