public int doEndTag() throws JspException {

    //JspWriter out =  bodyContent.getEnclosingWriter();
JspWriter out = pageContext.getOut();
    
    try {
out.print(bodyContent.getString());
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
    

return this.EVAL_PAGE;
}上面的代码中 有两种方式都可以获得out 对象 并能在页面上显示 不知道有什么区别?