code: public String addSiteRoot(String sitePath) {
  
          if (sitePath == null) {
              return null;
          }
          String siteRoot = getAdjustedSiteRoot(getSiteRoot(), sitePath);
          StringBuffer result = new StringBuffer(128);
          result.append(siteRoot);
          if (((siteRoot.length() == 0) || (siteRoot.charAt(siteRoot.length() - 1) != '/'))
              && ((sitePath.length() == 0) || (sitePath.charAt(0) != '/'))) {
              // add slash between site root and resource if required
              result.append('/');
          }
          result.append(sitePath);
          return result.toString();
      }
docs: Adds the current site root of this context to the given resource name.<p>
  
  @param sitePath the resource name
  
  @return the translated resource name including site root
  
  @see #removeSiteRoot(String)