Code: Download web pages
Here is a sample code for downloading web pages.
Here we write a Java program that takes as input a text file that contains a list of URLs, one on each line.
For each URL in the list, download the web page from the site and save it to the local disk.
Name each file with an appropriate name and extension.
Check success by viewing the local html files in a web browser.
