File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
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
I agree. Here's the link:
subject: Difference Between URI and URL
Taglib uri in TLD vs. taglib-uri in web.xml
Doubt in syntax for taglib uri !!
difference between taglib and include
installing JSTL behind firewall
Doubt on taglib?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014