Listeners are allowed in TLD files. -Tim
MiSt wrote:
I added (by mistake) element <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> to struts .tld file (after <taglib> ) despite web.xml and I noticed that Spring context was loaded properly! Why? Elment <listener> is illegal in tld files. Tomcats notifies listeners defined in tld files and throws error for not existing classes: ERROR [[/service]] Error configuring application listener of class org.springframework.wsssaasdfeb.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.wsssaasdfeb.context.ContextLoaderListener atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)at org.apache.catalina.core.Standa (...)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
