Initial version coded for Apache Tomcat 7.0.52