Resource Names
Home ] Up ] Protocols ] [ Resource Names ] Absolute vs. Relative URLs ] The URL Class ] Reading from a URL ] Proxy Settings ]

 

 

The previous example is a very simple resource name.  In general, a resource name may consist of the following:

Host Name The host name of the machine where the resource is located.
Filename The pathname to the file on the host machine (sometimes defaulted)
Port Number The port number on the host machine to use for the connection (usually defaulted)
Reference (anchor) A reference to a named anchor within the resource (optional)

An example of a URL that uses all of these components is:

http://www.rivier.edu:1080/juicy.html#FocusHere

(Note: This is a fictional URL!)

 

The page was last updated February 19, 2008