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=23458>. 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=23458 findAncestorWithClass implementation error Summary: findAncestorWithClass implementation error Product: Tomcat 4 Version: 4.1.27 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The 'javax.servlet.jsp.tagext.TagSupport.findAncestorWithClass' method does not return the immediate Ancestor. In my case it returned the 'grandfather' rather than the 'father' tag. The following code illustrates: -------------CODE-------------- <tags:grandfather att="valONE"> <tags:father att="valTWO"> <tags:son/> <!-- 'son' gets valONE not valTWO when it checks the 'att' value of the parent using 'findAncestorWithClass' method --> </tags:father> </tags:grandfather> -------------CODE-------------- I found this bug is in 4.1.24 and 4.1.27. 4.0.1 works fine. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]