Java - URL Processing
by, 04-25-2012 at 10:23 PM (976 Views)
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.
Port is not specified by this URL so default port is used in this case. Default port in case of HTTP is 80.