code: public int doStartTag() throws JspException
      {
          String realName = rewriteName(_name);
          if (_resultId != null)
              pageContext.setAttribute(_resultId, realName);
  
          // @TODO: Is there any way to make this work.  Currently if
          // there is now script container, we will eat the <script> blocks
          // because we cannot write them out in the middle of the tag being
          // written
          IScriptReporter scriptReporter = getScriptReporter();
          ScriptRequestState srs = ScriptRequestState.getScriptRequestState((HttpServletRequest) pageContext.getRequest());
          if (TagConfig.isLegacyJavaScript()) {
              srs.mapLegacyTagId(scriptReporter, _name, realName);
          }
          write(realName);
          localRelease();
          return SKIP_BODY;
      }
docs: Pass the name attribute to the URLRewriter and output the
  returned value.  Updates the HTML tag to output the mapping.
  @throws JspException if a JSP exception has occurred