Product Home Page | Developer Site | Version | |
Server.MapPath(path)
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 |
The path parameter can contain relative paths (../../Scripts/ , for example).
|
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.