Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Syntax: ASP Server Object MapPath Method

Server.MapPath(path)
Parameters: ASP Server Object MapPath Method

path

Specifies the relative or virtual path to map to a physical directory. If path starts with either a forward or backward slash, the MapPath method returns a path as if path is a full virtual path. If path doesn't start with a slash, the MapPath method returns a path relative to the directory of the .asp file being processed.

Note icon Note The path parameter can contain relative paths (../../Scripts/, for example).


ContentsPreviousNextIndex