File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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).]
I agree. Here's the link:
subject: Difference between a URL and URI
It's not a secret anymore!