JspxTagBase.java 文件源码

java
阅读 17 收藏 0 点赞 0 评论 0

项目:rocserver 作者:
@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());
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号