This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Working with Internet URL through Proxy from Java Code
posted 8 years ago
I am trying to execute a java Program which attempts to copy a file from internet URL to my local disk.
I am using the following code for getting connection to the URL.
My system is connected to internet through proxy server. I am using ECLIPSE IDE for executing this Java ProgramIn ECLIPSE I have entered the proxy host, proxy port, proxy authentication details in the Windows --> Preferences --> Internet --> Proxy Settings window.