---
title: "关于URI/URL/URN"
author: "hittyt"
date: "2012-03-03T22:26:25Z"
tags: []
categories: ["互联网"]
slug: "uri-url-urn"
draft: false
lastmod: "2012-03-03T22:26:25Z"
id: 1439303
url: "https://hittyt.iteye.com/blog/1439303"
---

关于区别和联系，可以参考[这篇文章](http://blog.csdn.net/shijianwu1986/article/details/4092165 "URI、URL和URN之间的区别与联系")。

 

为了具体点展示URI和URL的区别，找了一下JDK中两个类定义的field。看上去能更直观一点。

![](http://dl.iteye.com/upload/attachment/0064/1264/fbff8f5a-3607-3ceb-bba0-d27ed52eed16.png)

![](http://dl.iteye.com/upload/attachment/0064/1266/fa2c9cb5-0b9b-3632-a4ac-002bbd58621b.png)