code: public int doStartTag() throws JspException
      {
          IScriptReporter sr = getScriptReporter();
          HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
          WriteRenderAppender writer = new WriteRenderAppender(pageContext);
  
          // write out the include
          ScriptTag.State state = new ScriptTag.State();
          TagRenderingBase br = TagRenderingBase.Factory.getRendering(TagRenderingBase.SCRIPT_TAG, pageContext.getRequest());
  
          state.src = req.getContextPath() + "/resources/beehive/version1/javascript/netui-tree.js";
          br.doStartTag(writer, state);
          br.doEndTag(writer);
  
          // write out the dynamic content
          ScriptRequestState srs = ScriptRequestState.getScriptRequestState(req);
          srs.writeFeature(sr, writer, CoreScriptFeature.DYNAMIC_INIT, true, false, new Object[]{req.getContextPath()});
  
          return EVAL_BODY_INCLUDE;
      }
docs: Process the start of the Button.
  @throws javax.servlet.jsp.JspException if a JSP exception has occurred