java – Velocity在哪里搜索模板?

我需要在Web应用程序中使用来自 Java代码的Velocity(我将其用作邮件模板处理器). 所以我有一个标准的代码: VelocityEngine ve = new VelocityEngine ();try { ve.init (); Template t = ve.getTemplate (templatePath); … } catch (Exception

返回顶部