The mapPath method of the Server class maps the specified relative or virtual path to the corresponding physical directory on the server.
public String mapPath(String path);