The configuration file
freemarker:
Request - the context - attribute: request
# prohibited stencil buffer
Cache: false
The template loader - path: the classpath:/templates
Suffix: HTML
Settings:
Classic_compatible: true
In the template calls the built-in objects
This is what problem, according to the method of online tried also not line
CodePudding user response:
See your configuration there have added classic_compatible=trueIn your template built-in objects need to add: & lt; #if myOptionalVar??> The when - present<# else> when-missing# if>
CodePudding user response:
Classic_compatible=true is no cache when development, and take less than the request object