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.
SCJP5.0, SCWCD5.0, OCEJPAD6, OCPJWSD6
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
SCJP5.0, SCWCD5.0, OCEJPAD6, OCPJWSD6
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|