• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between URL and URI

 
nivas yl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
can you please tell me what is the difference between URL and URI.

bye..
 
Rao Raghu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only difference is that

URI is only for identifying the resource.

URL is for locating/ finding resources.URL will contain request to URI i.e URI is a part of URL

 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
URI: is a string that identifies any resource. Indentifying the resource does not necessarily mean we can retrieve it. URI is a superset of URL and URN.
files/reports/marketing/report.html

URL: URI that specify a common Internet protocol such as HTTP or FTP are also called URLs. URL is an informal term an is not used in technical specifications.
http://www.foo.com/files/reports/marketing/report.html

URN: A URN is an identifier the uniquely indentifies a resource but does not specify how to access that resource.
ISBN: 1-930110-59-6
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic