DO NOT REPLY [Bug 14741] - TagFiles with same name in different tag directories overwrite the generated java files
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|REOPENED|RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2002-12-02 19:52 --- *** This bug has been marked as a duplicate of 15002 *** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 14741] - TagFiles with same name in different tag directories overwrite the generated java files
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|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2002-11-21 18:30 --- Implicit tag files are described in JSP.8.4.3 of PFD. Implicit TLDs are constructed from all the tag files in and under /WEB-INF/tags. Note that name of a tag file in the implicit TLD is the name of the tag file, minus the .tag extention, and is used for matching the tag handlers. This implies that you cannot have two tag files of the same name under /WEB-INF/tags. Consider mytag:HelloWorld/ in you example. Which one are you using, /WEB-INF/tags/HelloWorld.tag or /WEB-INF/tags/test/HelloWorld.tag? Perhaps Jasper should detect and flag as error duplicate tag file? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 14741] - TagFiles with same name in different tag directories overwrite the generated java files
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]