You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/21 19:30:50 UTC

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

kin-man.chung@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From kin-man.chung@sun.com  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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>