private void initTemplateEngineCfg() {
        configuration = new Configuration();
        configuration.setDefaultEncoding("UTF-8");
        final ServletContext servletContext = AbstractServletListener.getServletContext();

        configuration.setServletContextForTemplateLoading(servletContext, "/plugins/" + dirName);
        LOGGER.log(Level.DEBUG, "Initialized template configuration");
    }
private void initTemplateEngineCfg ( ) { configuration = new Configuration ( ) ; configuration . setDefaultEncoding ( "UTF-8" ) ; final ServletContext servletContext = AbstractServletListener . getServletContext ( ) ; configuration . setServletContextForTemplateLoading ( servletContext , "/plugins/" + dirName ) ; LOGGER . log ( Level . DEBUG , "Initialized template configuration" ) ; }
Initializes template engine configuration.