Tim Funk:
Listeners are allowed in TLD files.
Thanks for answer
You are right. Element listener is allowed in tld from version 1.2
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
but not in 1.1
http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
My tld file
1.1//EN" "http://java.sun.
I added (by mistake) element
org.springframework.web.context.ContextLoaderListener
to struts .tld file (after ) despite web.xml and I noticed
that Spring context was loaded properly! Why? Elment is
illegal in tld files. Tomcats notifies list