code: public void setSiteRoot(String siteRoot) {
  
          if (siteRoot != null) {
              siteRoot = siteRoot.replaceFirst("/$", "");
          }
          m_siteRoot = siteRoot;
      }
docs: Sets the site root.
  
  @param siteRoot the site root