code: public String removeSiteRoot(String resourcename) {
  
          if ((m_requestContext != null) && (resourcename != null)) {
              return m_requestContext.removeSiteRoot(resourcename);
          }
  
          return resourcename;
      }
docs: Removes the current site root prefix from the absolute path in the resource name,
  that is adjusts the resource name for the current site root.<p>
  
  If no user request context is available, the given resource name is
  returned unchanged.<p>
  
  @param resourcename the resource name
  
  @return the resource name adjusted for the current site root