freemarker 默认值
This commit is contained in:
@@ -29,6 +29,7 @@ public class FreeMarkerTemplateUtils {
|
||||
CONFIGURATION.setDefaultEncoding("UTF-8");
|
||||
CONFIGURATION.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
|
||||
CONFIGURATION.setCacheStorage(NullCacheStorage.INSTANCE);
|
||||
CONFIGURATION.setClassicCompatible(true);
|
||||
}
|
||||
|
||||
public static Template getTemplate(String templateName) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user