static NVelocityViewEngine() { string targetViewFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "views"); //DEFAULT_PROPERTIES.Add(RuntimeConstants.RESOURCE_LOADER, "file"); DEFAULT_PROPERTIES.Add(RuntimeConstants.FILE_RESOURCE_LOADER_PATH, targetViewFolder); DEFAULT_PROPERTIES.Add("file.resource.loader.class", "NVelocityEngine.FileResourceLoaderEx\\,NVelocityEngine"); Default = new NVelocityViewEngine(); }