Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.velocity = new VelocityEngine();
- velocity.setProperty("runtime.log.logsystem.class", NullLogChute.class);
- velocity.setProperty("input.encoding", "UTF-8");
- velocity.setProperty("output.encoding", "UTF-8");
- velocity.setProperty("url.resource.loader.class", "org.apache.velocity.runtime.resource.loader.URLResourceLoader");
- velocity.setProperty("url.resource.loader.root", url);
- velocity.setProperty("url.resource.loader.cache", false);
- velocity.setProperty("url.resource.loader.modificationCheckInterval", "60");
- velocity.setProperty("resource.loader", "url, file");
- this.velocity.init();
- this.rt = new RenderTool();
- this.rt.setVelocityEngine(this.velocity);
Add Comment
Please, Sign In to add comment