测试的url地址是 http://data.medix.cn/medic/default.aspx 结果如下:
Request.ApplicationPath
结果:/medic
Request.CurrentExecutionFilePath:
结果:medic/default.aspx
Request.FilePath:
结果:/medic/default.aspx
Request.Path:
结果:/medic/default.aspx
Request.PhysicalApplicationPath:
结果:E:/WWW/medic/
Request.PhysicalPath:
结果:E:/WWW/medic/default.aspx
Request.RawUrl:
结果:/medic/default.aspx
Request.Url.AbsolutePath:
结果:/medic/default.aspx
Request.Url.AbsoluteUri:
结果:http://data.medix.cn/medic/default.aspx
Request.Url.Host:
结果:data.medix.cn
Request.Url.LocalPath:
结果:/medic/default.aspx