Friday, April 17, 2009

Tomcat web.xml file - order is important under web-app


Some servlet containers seem to be picky about the ordering of the elements under <web-app> of the web.xml.

Today I had to change a web.xml so that <filter> tag was placed before the <listener> tag.