Support for tomcat 7.