aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes how to connect a URL if using a proxy setting? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "how to connect a URL if using a proxy setting? " Watch "how to connect a URL if using a proxy setting? " New topic
Author

how to connect a URL if using a proxy setting?

aminur rashid
Ranch Hand

Joined: Sep 21, 2001
Posts: 79
i am making connection to a url and i have set the properties as
System.setProperty("http.proxyHost", myProxy);
System.setProperty("http.proxyPort", "80");
but how to supply the user id and password for the proxy server
What will be the key1 and key2 in
System.setProperty(String key1,"myID");
System.setProperty(String key2,"myPassword");

[This message has been edited by aminur rashid (edited September 27, 2001).]


Regards<br />Aminur
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to connect a URL if using a proxy setting?
 
Similar Threads
Hashtable question!
ApplicationResources
how to pass credentials (password/uderid) when using proxies
Hibernate mapping HashMap to row
JDBC compare the content of two tables