ftl模板里面使用struts的标签 <@s.action />
现在生成静态页提示freemarker.core.InvalidReferenceException: Expression s is undefined
Template template = config.getTemplate(templateFile, Constants.ENCODING);
markDirectory(htmlPath);
template.setEncoding(Constants.ENCODING);
FileOutputStream fos = new FileOutputStream(htmlPath);
Writer out = new OutputStreamWriter(fos);
template.process(root, out);
Smart猫小萌
繁星点点滴滴
相关分类