Java is case sensitive,
props.put("http.proxyHost","192.168.1.1");
props.put("http.proxyPort","80");
(Notice the capital H and P)
Hope this helps
[This message has been edited by Carl Trusiak (edited January 09, 2001).]
I accidently deleted Dinesh's original post, sorry.
He ask why he was unable to connect throuh a proxy using the code
Properties props=System.getProperties();
props.put("http.proxyhost","192.168.0.1");
props.put("http.proxyport","80");
System.setProperties(props);
[This message has been edited by Carl Trusiak (edited January 09, 2001).]