DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14741>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14741 TagFiles with same name in different tag directories overwrite the generated java files [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2002-11-21 18:44 ------- You are not understanding the test case. I have two tag directories in WEB-INF: WEB-INF/tags WEB-INF/tags/test According to the 2.0 spec each directory is treated as a separate tag library JSP.8.4.3 The JSP container must generate an implicit tag library for each directory under and including /WEB-INF/tags/. I have two tag files both called helloWorld.tag. One is : WEB-INF/tags/helloWorld.tag the other is : WEB-INF/tags/test/helloWorld.tag Then I have a jsp that uses both tags. It defines two taglib directives : <%@ taglib prefix="mytag" tagdir="/WEB-INF/tags/test" %> <%@ taglib prefix="mytag1" tagdir="/WEB-INF/tags" %> One for each taglib directory i have. The jsp calls both tags : <mytag:helloWorld/> <mytag1:helloWorld/> As both tags are generated to the same package name and directory they will overwrite each other. Try this with the hello world tagfile test and you will see the problem -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>