code: public void doTag()
              throws JspException, IOException
      {
          // report any errors...
          if (hasErrors()) {
              reportErrors();
              return;
          }
  
          PageContext pageContext = getPageContext();
          WriteRenderAppender writer = new WriteRenderAppender(pageContext);
          String script = getBufferBody(false);
          if (script == null)
              return;
  
          // make sure that the last character is a new line
          if (script.length() > 0 && script.charAt(script.length() -1) != '\n') {
              script = script + "\n";
          }
  
          IScriptReporter sr = getScriptReporter();
  
          // if we are writting the javaScript inline then do it....
          if (_placement == ScriptPlacement.PLACE_INLINE || sr == null) {
              ScriptRequestState.writeScriptBlock(pageContext.getRequest(), writer, script);
              return;
          }
  
          sr.addScriptFunction(_placement, script);
      }
docs: Render the content.
  @throws javax.servlet.jsp.JspException if a JSP exception has occurred