This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 24189
    
  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]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: difference between URL and URI
 
It's not a secret anymore!