URI in js RRS feed

  • Question


    Hi Friends,


    Can any one give a brief explanation on URI in js?

    what is it and what is the purpose of it?

    what is the difference between URL and  URI?


    Thanking  You in Advance,


    Thursday, June 26, 2008 10:11 AM

All replies


    uri--uniform resource identifier,

    url--uniform resource locator,

    uri provides only the name of the resource, like in web.xml, in url-pattern you would be specifying the uri for identification of the servelt when the request is made in the url.

    url gives the path of the resource where it was located.url identifies the path where the uri is located.


    The only difference is that

       URI is only for identifying the resource.

    URL is for locating/ finding resources.URL will contain request to URI i.e URI is a part of URL

    vist for more info


    Thursday, June 26, 2008 10:40 AM