add support for tomcat 7