Your questions are not understanding what you need..
Could you please explain indetail..
Here taglib is directive.. uri and prefix are attributes of the taglin directive..
tagdir is another attribute we can use instead of "uri"
Limiataion is we can not use both at a time...
some other limitation liste below
If the URI is a URL or URN, then the TLD is located by consulting the mapping indicated in web.xml extended using the implicit maps in the packaged tag libraries. If URI is pathname, it is interpreted relative to the root of the web application and should resolve to a TLD file directly, or to a JAR file that has a TLD file at location META-INF/taglib.tld.
Indicates this prefix is to be used to identify tag extensions installed in the /WEB-INF/tags/ directory or a subdirectory. An implicit tag library descriptor is used. A translation error must occur under any of these conditions:
The value does not start with /WEB-INF/tags/. The value does not point to a directory that exists. If this attribute is used in conjunction with the uri attribute.
Thanks Madhav. I got to understand it now. So you can use either uri or tagdir but not both. uri is for already existing taglibs but tagdir is for the custom ones that we write! Correct me if I'm wrong!