|
|
|
@ -48,6 +48,8 @@ public class VelocityProperties extends AbstractTemplateViewResolverProperties {
|
|
|
|
|
|
|
|
|
|
private String toolboxConfigLocation;
|
|
|
|
|
|
|
|
|
|
private boolean preferFileSystemAccess = true;
|
|
|
|
|
|
|
|
|
|
public VelocityProperties() {
|
|
|
|
|
super(DEFAULT_PREFIX, DEFAULT_SUFFIX);
|
|
|
|
|
}
|
|
|
|
@ -92,6 +94,14 @@ public class VelocityProperties extends AbstractTemplateViewResolverProperties {
|
|
|
|
|
this.toolboxConfigLocation = toolboxConfigLocation;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isPreferFileSystemAccess() {
|
|
|
|
|
return this.preferFileSystemAccess;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setPreferFileSystemAccess(boolean preferFileSystemAccess) {
|
|
|
|
|
this.preferFileSystemAccess = preferFileSystemAccess;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void applyToViewResolver(Object viewResolver) {
|
|
|
|
|
super.applyToViewResolver(viewResolver);
|
|
|
|
|