SectionTitle.java 文件源码

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

项目:unitime 作者:
public int doEndTag() throws JspException {
    if (getParent()!=null && getParent() instanceof SectionHeader) {
        ((SectionHeader)getParent()).setTitle(getBodyContent().getString());
    } else {
        try {
            String body = (getBodyContent()==null?null:getBodyContent().getString());
            if (body==null || body.trim().length()==0) {
                pageContext.getOut().println("<DIV class='WelcomeRowHeadBlank'>&nbsp;</DIV>");
            } else {
                pageContext.getOut().println("<DIV class='WelcomeRowHead'>");
                pageContext.getOut().println(body);
                pageContext.getOut().println("</DIV>");
            }
        } catch (Exception e) {
            e.printStackTrace();
            throw new JspTagException(e.getMessage());
        }
    }
    return EVAL_PAGE;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号