Support tomcat 8 with specific templates
Added tomcat 6 support with specific templates