code: public int doEndTag()
              throws JspException
      {
  
          popIdScope();
  
          // writeout the script.
          WriteRenderAppender writer = new WriteRenderAppender(pageContext);
  
          // if we wrote out the scopeId then we end it.
          if (_idScope != null) {
              writer.append("</div>");
          }
  
          writeFrameworkScript(writer);
          writeAfterBlocks(writer);
          localRelease();
          return EVAL_PAGE;
      }
docs: Write out the body content and report any errors that occured.
  @throws JspException if a JSP exception has occurred