I am behind a proxy at work. I found an example to get through it but it doesn't work. It was just a matter of setting a couple properties such as:
Properties props = System.getProperties();
props.put("http.proxyHost", "http-proxy.trans.ge.com"
;
props.put("http.proxyPort", "80"
;
System.setProperties(props);
This didn't work. Does anyone have any better examples or can anyone point me to a good article on this subject?
Thanks a bunch!!
I hope this helped! ;-)
- Casey Winans
Properties props = System.getProperties();
props.put("http.proxyHost", "http-proxy.trans.ge.com"
props.put("http.proxyPort", "80"
System.setProperties(props);
This didn't work. Does anyone have any better examples or can anyone point me to a good article on this subject?
Thanks a bunch!!
I hope this helped! ;-)
- Casey Winans