摘要: //Request.CurrentExecutionFilePath; 当前请求的虚拟路径 是这种格式:\虚拟目录名\admin\index.aspx//Request.ApplicationPath //获取服务器上ASP.NET应用程序的虚拟应用程序根路径。\虚拟目录名(应用程序名)以上都是虚拟目录中的文件路径,即是IIS中的路径。要得到真真的物理路径要在得到以上路径的基础上再加:Server.MapPath(Request.ApplicationPath +"SPLConfig/ClassMap.xml")//这样可能会有一个BUG最好是这样string m_Appl 阅读全文
posted @ 2011-06-30 14:48 xfyn 阅读(2045) 评论(0) 推荐(0) 编辑