What does Server.MapPath do?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kishore maddineni
The MapPath method maps a relative or virtual path to a
physical path. This method does not check for the validity
or the existence of the physical path. If the path starts
with a forward or backward slash, the method returns the
path as if the path is a full virtual path. If the path
does not start with a slash, then the method returns the
path relative to the directory of the ASP file being
processed
Is This Answer Correct ? | 4 Yes | 3 No |
Name at least two methods of response object other than Transfer.
when u r designing where how do u design other than drag and drop method in the project of asp.net
What options are available to deploy my .net applications?
What is the difference between client-side script and server-side script?
What is asp and its features?
Define "virtual directory"?
Explain how to handle error in asp?
What is an .asp file?
difference between html and asp?
How will you set the values for cookies?
What do I have to do to make my code work with the security system?
What is asp language?