web.xml configuration for tomcat and glassfish.