2012-10-07 147 views
0

我有Asp.Net項目,我無法從Mappath方法中使用。當使用我這一點,例如:正確使用MapPath方法

response.redirect(mappath(".")); 

此行重定向到根,但任何occer對我來說,我的問題是:

之間有什麼不同:

response.redirect(mappath(".")); 

response.redirect("/"); 

第二行工作正常!

+0

選中此:http://stackoverflow.com/questions/275781/server-mappath-server-mappath-server-mappath-server-mappath – IrishChieftain

回答