At World Wide Web, Uniform Resource Locator presents a resource, like a FTP directory or web page.
This section will show that how Java programs are written to do communicate with a URL. A URL could be divided into parts as following:
Protocols examples are HTTP, FTP, HTTPS & File. The path is known as the filename & the host is known as authority. http://www.test.com/index.htm?language=en#j2se