code: public String getRealPath(String path) {
          if (context != null) {
              return context.getRealPath(path);
          }
          return path;
      }
docs: Gets the actual path of a URI relative to the context of
  the compilation.
  @param path The webapp path
  @return the corresponding path in the filesystem