@Override
public void execute(Environment e, Map map, TemplateModel[] tms, TemplateDirectiveBody tdb) throws TemplateException, IOException {
this.tagParameter = map;
this.request = (HttpServletRequest) e.getCustomAttribute("request");
this.out = e.getOut();
HashMap<String, Object> mapx = this.doService();
if (mapx != null) {
for (Entry<String, Object> c : mapx.entrySet()) {
e.setVariable(c.getKey(), ObjectWrapper.DEFAULT_WRAPPER.wrap(c.getValue()));
}
}
if (tdb != null) {
tdb.render(e.getOut());
}
}
JspxTagBase.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:rocserver
作者:
评论列表
文章目录