code: protected IScriptReporter getHtmlTag(ServletRequest req)
      {
          Html html = (Html) req.getAttribute(Html.HTML_TAG_ID);
          if (html != null && html instanceof IScriptReporter)
              return (IScriptReporter) html;
          return null;
      }
docs: This method will return the scriptReporter that is represented by the HTML tag.
  @return IScriptReporter