Posted By:
Munish_Jauhar
Posted On:
Saturday, December 8, 2001 02:17 AM
Hi Shaan
Well I am facing the same problem you have mentioned. I tried using the following code:
Properties prop = System.getProperties();
prop.put("http.proxyHost", "192.168.100.1");
prop.put("http.proxyPort", "80");
Strangely my code worked for one day, but after that it stopped working. I then tried to use the following code:
Properties prop = System.getProperties();
prop.put("socksProxySet", "true");
prop.put("socksProxyHost", "192.168.100.1");
prop.put("socksProxyPort", "1080");
However this did not help either. Why dont you try the second option and see if it works. If you get anything then please do let me know.
Regards
Munish Jauhar