NXP-11686: Add cors filter entry in web.xml in tomcat and jboss templates