URI和URL的区别
2016-08-29 00:00
483 查看
From RFC 3986:
A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URIs that, in addition to identifying a resource, provide a means of locating the resource by describing its primary access mechanism (e.g., its network "location"). The term "Uniform Resource Name" (URN) has been used historically to refer to both URIs under the "urn" scheme [RFC2141], which are required to remain globally unique and persistent even when the resource ceases to exist or becomes unav
ailable, and to any other URI with the properties of a name.
![](http://static.oschina.net/uploads/space/2016/0829/150002_4YFw_2617600.png)
URI统一资源标识符 。相当于立了一个规矩:比如姓名的组成是 姓+名;
URL统一资源定位符 我根据这个规矩起了一个名字:李(姓)+小龙(名),注意这个李小龙是唯一的,世界上就一个叫李小龙的,你根据李小龙这个名字只能找到一个人。
URN 统一资源名
A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URIs that, in addition to identifying a resource, provide a means of locating the resource by describing its primary access mechanism (e.g., its network "location"). The term "Uniform Resource Name" (URN) has been used historically to refer to both URIs under the "urn" scheme [RFC2141], which are required to remain globally unique and persistent even when the resource ceases to exist or becomes unav
ailable, and to any other URI with the properties of a name.
![](http://static.oschina.net/uploads/space/2016/0829/150002_4YFw_2617600.png)
URI统一资源标识符 。相当于立了一个规矩:比如姓名的组成是 姓+名;
URL统一资源定位符 我根据这个规矩起了一个名字:李(姓)+小龙(名),注意这个李小龙是唯一的,世界上就一个叫李小龙的,你根据李小龙这个名字只能找到一个人。
URN 统一资源名
相关文章推荐
- 什么是URI,什么是URL,它们之间有什么区别
- URI、URL和URN之间的区别与联系
- URI和URL的区别(转)
- URI&URL&URL区别及servlet的requestURI和requestURL
- URI, URL和URN的区别
- 什么是URI,什么是URL,它们之间有什么区别(转载)
- 学习笔记---URL和URI的区别, 强制类型转换和AS转换
- URI和URL的区别
- URI 和URL区别
- URL与URI的区别
- Request中getContextPath、getServletPath、getRequestURI、getRequestURL、getRealPath的区别
- URI和URL的区别
- URI、URL和URN之间的区别与联系
- URI与URL区别
- URI和URL的区别
- URL和URI的区别与联系
- HttpServletRequest.getRequestURI()和HttpServletRequest.getRequestURL()区别是什么?
- URL与URI的区别
- URI和URL的区别
- URL与URI的区别