GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes  difference between URL and URI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark " difference between URL and URI" Watch " difference between URL and URI" New topic
Author

difference between URL and URI

Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
Hi there,
What is the difference between URL, URI and URN.
thanks
siva
[ March 26, 2004: Message edited by: Siva kandasamy ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Here is a reasonable explanation. For the most part, URL and URI are essentially the same thing. But whereas a URL is like an address, a URN is like a name, and you need to use a URN resolution service to look up the address (i.e., the URL/URI) that goes with it. Since such services aren't widely available, URNs aren't much more than a curiosity right now.
[ March 26, 2004: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
 
GeeCON Prague 2014
 
subject: difference between URL and URI