modified to tomcat7
modified to tomcat7