A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Difference Between URI and URL
Joined: Jan 20, 2005
Sep 05, 2006 02:53:00
can anyone explain be about the difference between the URL and URI . in web.xml we are saying for the tld like <taglib-uri> , why cant WE specify it as <taglib-url> ..?
With Regards<br />Arul
Joined: Aug 24, 2006
Sep 05, 2006 03:30:00
URI is the acronym for Uniform Resource Identifier where as URL is for Uniform Resource Locator.
URI is something which looks like URL, but it acts like an identifier for the particular resource where as URL is the actual address or location of the resource.
URI may not point to any resource, where as URL always point to specific resource.
So in taglibs when we want to associate particular prefix with the tag library, there is need to inform the container to look at particular id which should be unique.
That is why it is used as taglib-uri.
SCJP 1.2, SCWCD 1.4
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Difference Between URI and URL
Taglib uri in TLD vs. taglib-uri in web.xml
Doubt on taglib?
difference between taglib and include
installing JSTL behind firewall
Doubt in syntax for taglib uri !!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014