velocity模板加载的三种形式

文针对velocity模板加载的三种方式进行说明 一:velocity默认加载方式(文件加载)  (下面是针对文件加载的目录结构)     1.直接读取资源文件方式   public class VelocityTemplate { public static String getVelocityTemplate(String basePath) throws Exception {
相关文章
相关标签/搜索