1) If we can specify the tag file location as above then why dont we can specify the tag file location for the tag files which are packed in the jar. ie
<%@ taglib prefix="mine" tagdir="/META-INF/tags" %>
2) and if we need TLD ( any ways: for the case where tag file is in jar ) then what should be the value of the tagdir = ? in the jsp file to use the tag file.
Jitin Guglani wrote:but my question is why this way is required.
Second as you said that instead of specifying the tag-dir specify the uri but uri is for the tags not for tag-files i think.
why container is not able to lacate the tag file if it is inside the jar file because if container is able to do this simple job then there is one universal way of specifying the tag file location