Re: [FreeMarker-user] disableCanonicalPathCheck and spring framework
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
From: Daniel D. <dd...@fr...> - 2016-06-03 17:23:14
|
I think you can only set it if you specify a TemplateLoader object directly, instead of using the templateLoaderPaths (where you are using String-s). That can be achieved by setting the preTemplateLoaders or postTemplateLoaders property of any FreeMarkerConfigurationFactory subclass. Friday, June 3, 2016, 1:46:49 PM, Mario Gzuk wrote: > Hi, > maybe a simple question, but I cant find a solution how to set > disableCanonicalPathCheck for freemarker in conclusion with the spring > framework. I found a lot of documentation about how to configure it, > e.g. > http://docs.spring.io/autorepo/docs/spring/current/javadoc-api/org/springframework/web/servlet/view/freemarker/FreeMarkerConfigurer.html -- Thanks, Daniel Dekany |