Suppose that in the jsp file you have the following taglib directive <%@ taglib uri="WEB-INF/lib/SimpleTagDemo.jar" prefix="h" %> i.e., if the path in uri points to the jar file as in the above line, then there is no need for mentioning it in the web.xml. But in the question in the taglib directive uri path is not the path where the jar file is placed. So you need to mention it in the web.xml. Hope i am clear.
Joined: Sep 15, 2004
Thanks Rohini! I got that this time.
Joined: Oct 21, 2005
No then what if the uri in the taglib directive is same as that in the URI of TLD.I guess in that case also we dont need the web.xml entry