java – Velocity在哪里搜索模板?

java – Velocity在哪里搜索模板?

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

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部