views:

100

answers:

0

what happens when i define the same tag lib twice in a jsp. for ex i am having a.jsp and b.jsp inside a.jsp i include b.jsp (@ include not jsp include) and at times i call b.jsp using ajax and i define a taglib

<%@ taglib uri="http://www.myorg.com/my/mytaglib" prefix="mytaglib"%> inside a.jsp and b.jsp and use it in a.jsp and b.jsp

it is working fine(when i set the jsp in compile mode) but when i try to precompile using jspc it throws exception.

what is the reason behind this behavior ?