Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between URL and URI?

 
Yingie Pitts
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are two Java APIs, URL and URI. But I can not distinguish them by reading the documentation. So, under what circumstances should we use URL? URI?
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pitts -
Welcome to JavaRanch! One thing we like is to make sure everyone uses a proper screen name. Here's our policy for your review. Thanks for helping us maintain our site appearance.
The answer to this question will appeal to a lot more people than this forum typically attracts. It makes more sense to me to put this in Servlet/JSP, so I'm going to move it.
Regards,
Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic