Answers for "how to read html file from resource folder from spring project by using maping"

0

how to read html file from resource folder from spring project by using maping

@Bean
    @Primary
    public FreeMarkerConfigurationFactoryBean getFreeMarkerConfiguration() throws IOException {
        FreeMarkerConfigurationFactoryBean bean = new FreeMarkerConfigurationFactoryBean();
        ClassTemplateLoader ctl = new ClassTemplateLoader(getClass(), "/templates");
        bean.setPostTemplateLoaders(ctl);
        return bean;
    }
Posted by: Guest on June-19-2021

Code answers related to "how to read html file from resource folder from spring project by using maping"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language