This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Difference between a URL and URI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Difference between a URL and URI" Watch "Difference between a URL and URI" New topic

Difference between a URL and URI


Joined: Feb 13, 2000
Posts: 21
what is the difference between a URL and a URI?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Vrinda,
Web application is a collection of resources which are mapped to a particular Uniform Resource Identifier (URI) prefix. The resources may include html or xml files, images, servlets, jsp, etc.
Now it would be reasonable to store all the information related to say "ShoppingCart" application in a single directory called "ShoppingCart". All the requests starting with "/ShoppingCart" would be mapped to this application.
I am sure that you are aware of URL !!
Hope this helps !!

[This message has been edited by Milind (edited May 16, 2000).]
wood burning stoves
subject: Difference between a URL and URI
It's not a secret anymore!