Hi there,
I'm using a class to "get" urls: http://pastebin.com/f335278c8
but unfortunately it's not working when I'm behind a proxy,
Could you advise me a good way to add a proxy configuration
in my code?
Regards
mnml - 06 Apr 2008 12:39 GMT
> Hi there,
> I'm using a class to "get" urls:http://pastebin.com/f335278c8
[quoted text clipped - 3 lines]
>
> Regards
I guess I found how:
System.getProperties().put("http.proxyHost", "someProxyURL");
System.getProperties().put("http.proxyPort", "someProxyPort");
System.getProperties().put("http.proxyUser", "someUserName");
System.getProperties().put("http.proxyPassword", "somePassword");
System.getProperties().put("http.proxySet", "true");
Roedy Green - 07 Apr 2008 20:49 GMT
>I'm using a class to "get" urls: http://pastebin.com/f335278c8
>but unfortunately it's not working when I'm behind a proxy,
>Could you advise me a good way to add a proxy configuration
>in my code?
see http://mindprod.com/jgloss/properties.html#NETWORK

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com