added Tomcat 6's support