Following is the code Server.MapPath (".") consider the path is C:InetpubWWWRootMATDefault.asp. What will be the output

A. C:InetPUb
B. C:InetPUbWWWroot
C. C:InetPUbwwwrootMAT
D. Error

Showing Answers 1 - 16 of 16 Answers

Ramesha

  • Jun 3rd, 2005
 

A is the Answer

  Was this answer useful?  Yes

Siva Kumar

  • Jul 5th, 2005
 

If Path is :" C:InetpubWWWRootMATDefault.asp" 
 
Then Ans : "c:Inetpubwwwrootmat"

  Was this answer useful?  Yes

S. Ramesh

  • Sep 30th, 2005
 

D. Error

Displays Error

  Was this answer useful?  Yes

t.ramesh

  • Jul 22nd, 2006
 

Displaying Error

  Was this answer useful?  Yes

Muthu

  • May 1st, 2007
 

response.Write(Server.MapPath (".") )

It will be returned

C:Inetpubwwwrootvirtual path

  Was this answer useful?  Yes

Pratik B. Surani

  • Sep 25th, 2007
 

It will return C:Inetpubwwwroot

Server.Mappath(".") doesnt matter at all !!

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions