Answer Posted / sowmya
Maps a virtual or relative path to a physical path.
Syntax:
x = Server.MapPath( string )
Parameters:
string - string containing the path to be translated
The method returns new string containing the physical path
corresponding to the path (virtual or relative) in the
passed parameter.
Example:
JScript/VBScript:
<%= Server.MapPath("/databases/database1.mdb") %>
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is msmq? What is n-tier system?
What is the difference between post and get method.
How to insert the records in a database table by using asp?
What is aspx in url?
Is classic asp dead?
What purpose is served by the application.lock method?
How do I save an asp file as a pdf?
How do I open an asp file on a mac?
How many global.asa files can an application have in asp?
Juxtapose the HTTP verbs GET and POST. What is HEAD?
Define garbage collection?
What is an err object?
What is the command to display characters to the html page in asp?
Define unmanaged code?
Explain the difference between a namespace and an assembly name?