code: public String getRealPath(String path)
      {
          if(log.isDebugEnabled())log.debug("getRealPath of "+path+" in "+this);
  
          if (__Slosh2Slash)
              path=path.replace('\\','/');
          path=URI.canonicalPath(path);
          if (path==null)
              return null;
  
          Resource baseResource=getHttpContext().getBaseResource();
          if (baseResource==null )
              return null;
  
          try{
              Resource resource = baseResource.addPath(path);
              File file = resource.getFile();
  
              return (file==null)?null:(file.getAbsolutePath());
          }
          catch(IOException e)
          {
              log.warn(LogSupport.EXCEPTION,e);
              return null;
          }
      }
docs: /* ------------------------------------------------------------