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=6090>. 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=6090 Listener not instantiated in tld file ------- Additional Comments From [EMAIL PROTECTED] 2002-02-13 13:04 ------- I've just tried this on 4.0.2 and I still get the error. My listener is this public class SomeListener implements ServletContextListener{ public void contextInitialized(ServletContextEvent servletContextEvent){ System.out.println("*** cI::SomeListener"); } public void contextDestroyed(ServletContextEvent servletContextEvent){ System.out.println("*** cD::SomeListener"); } } My tld is in WEB-INF and looks like this <taglib> <tlib-version>1.0</tlib-version> <jsp-version>1.2</jsp-version> <short-name>Test Tags</short-name> <listener> <listener-class>SomeListener</listener-class> </listener> <tag> <name>UserName</name> <tag-class>com.develop.ejsp.tags.UserName</tag-class> <body-content>empty</body-content> </tag> </taglib> (I've left the DOCTYPE out for simplicity) My web.xml looks like this <web-app> </web-app> If I put the listener entry into the web.xml it works fine. I've tried this with test.tld and test.TLD -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>