Thread: proxy protocol?
View Single Post
Old 08-05-2002, 06:44 PM   #3 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 287
technobard is on a distinguished road
Interesting. You can also add the following to your code, before making the URLConnection:

Properties prop = System.getProperties();
prop.put("http.proxyHost","whatever.com");
prop.put("http.proxyPort","80"); //change to correct port
technobard is offline   Reply With Quote