问题描述
- 实现freemarker的TemplateDirectiveModel自定义标签问题
-
public class TestTemplateDirectiveModel implements TemplateDirectiveModel 重写execute方法,TemplateDirectiveBody body 为空,body.render(evn.getOut());报空异常,这个请问下是什么原因造成的?
解决方案
http://zwllxs.iteye.com/blog/2036826
解决方案二:
Freemarker 自定义标签 实现TemplateDirectiveModel
时间: 2024-07-29 19:02:57