3
Q
如何刷新速度模板
A
回答
4
請嘗試以下;
Properties templateProps = new Properties();
templateProps.setProperty("file.resource.loader.modificationCheckInterval", 60); // This is in seconds
templateProps.setProperty("file.resource.loader.cache", "true");
Velocity.init(templateProps);
+2
如果你更喜歡外部配置,你也可以使用'velocity.properties'文件。 – gaborsch 2013-04-09 14:40:09
相關問題
- 1. XML速度模板
- 2. 如何自動裝載速度模板?
- 3. 如何刷新燼(活)中的模板?
- 4. 角2如何刷新模板
- 5. 速度模板和javascript
- 6. 速度模板foreach循環
- 7. angular2刷新組件模板
- 8. 的Freemarker - 刷新模板
- 9. Gridview項目模板刷新
- 10. Kendo UI模板刷新
- 11. 如何刷新調色板
- 12. 速度模板文件中如何訪問速度模板文件中的地圖
- 13. Android刷卡速度
- 14. 如何刷新System.IO.DirectoryInfo.GetFiles()。長度
- 15. 刷新面板javascript刷新
- 16. 列表刷新/重新加載模板
- 17. jQuery模板不會更新/刷新?
- 18. 如何將速度模板加載到EJB中作爲郵件模板使用
- 19. 如何快速刷新ADO.NET實體數據模型?
- 20. 如何刷新Mongoose模型?
- 21. 速度模板不起作用
- 22. 在速度模板中創建對象
- 23. 速度模板 - 正則表達式
- 24. 的Spring MVC和速度:模板結構
- 25. 速度:從模板中隱藏方法
- 26. 使用速度模板打印JasperReports
- 27. 速度模板子串問題
- 28. 帶火花的速度模板引擎
- 29. 速度模板引擎 - 鍵值映射
- 30. 使速度模板對象靜態
你是什麼意思_refresh velocity templates_? – Lucas 2013-04-09 14:26:41
我的意思是如果我改變其中的文字。它應該反映在下一次合併中 – Jabir 2013-04-09 14:28:41