Java - URL Processing
by , 04-25-2012 at 10:23 PM (562 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:
protocol://host:port/path?query#ref
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
Port is not specified by this URL so default port is used in this case. Default port in case of HTTP is 80.









Email Blog Entry
PDF to TIFF Conversion & Control...
Yesterday, 11:39 AM in Java Software