What is the difference between URL and URI?
Prabhu Raja
Please refer to the following URL to know the differences between URL and URI,http://onlydifferencefaqs.blogspot.in/2012/08/difference-between-url-and-uri.html
So what is the difference between URI and URL? It's not as clear cut as I would like, but here's my stab at it:
A URI is an identifier for some resource, but a URL gives you specific information as to obtain that resource. A URI is a URL and as one commenter pointed out, it is now considered incorrect to use URL when describing applications. Generally, if the URL describes both the location and name of a resource, the term to use is URI. Since this is generally the case most of us encounter everyday, URI is the correct term.bca final year projects
URI:
Uniform Resource Identifier (URI) is a string of characters used to identify a name or a resource on the Internet. Such identification enables interaction with representations of the resource over a network (typically the World Wide Web) using specific protocols. Schemes specifying a concrete syntax and associated protocols define each URI.
An URI identifies a resource either by location, or a name, or both. A URI has two specializations known as URL and URN.
URL:
In computing, a Uniform Resource Locator (URL) is a subset of the Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it.
URL defines how the resource can be obtained. It does not have to be HTTP URL (http://), a URL can also be (ftp://) or (smb://)
An Uniform Resource Locator (URL) is the term used to identify an Internet resource, and can be specified in a single line of text.An Uniform Resource Identifier (URI) is used by a browser to identify a single document, and it too can be specified in a single line of text.URL http://www.pierobon.org/iis/review1.htm URI http://www.pierobon.org/iis/review1.htm.html#one
A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URI that identify resources via a representation of their primary access mechanism (e.g., their network "location"), rather than identifying the resource by name or by some other attribute(s) of that resource. The term "Uniform Resource Name" (URN) refers to the subset of URI that are required to remain globally unique and persistent even when the resource ceases to exist or becomes unavailable.
So any URL is a URI, but some URIs aren't URLs, they're URNs instead. Except the ones which are both URNs and URLs.
thanks.....