Server.MapPath的用法
来源:互联网 发布:支持向量机算法的实现 编辑:程序博客网 时间:2024/05/17 21:59
Server.MapPath()
./当前目录
/网站主目录
../上层目录
~/网站虚拟目录
如果当前的网站目录为E:\wwwroot 应用程序虚拟目录为E:\wwwroot\company 浏览的页面路径为E:\wwwroot\company\news\show.asp
在show.asp页面中使用
Server.MapPath("./") 返回路径为:E:\wwwroot\company\news
Server.MapPath("/") 返回路径为:E:\wwwroot
Server.MapPath("../") 返回路径为:E:\wwwroot\company
Server.MapPath("~/") 返回路径为:E:\wwwroot\company
server.MapPath(request.ServerVariables("Path_Info"))
Request.ServerVariables("Path_Translated")
上面两种方式返回路径为 D:\wwwroot\company\news\show.asp
- Server.MapPath的用法
- Server.MapPath的用法
- Server.MapPath 的用法
- Server.MapPath的用法
- Server.MapPath的用法
- Server.MapPath和Request.MapPath()的用法
- Server.MapPath和Request.MapPath()的用法
- Server.MapPath 的用法说明
- Server.MapPath(".") Server.MapPath("./") Server.MapPath("/") Server.MapPath用法详解
- server.mapPath()的几种用法.
- 关于Server.MapPath的具体用法
- 关于asp中Server.MapPath()的用法
- Server.MapPath()中参数的用法
- server.mappath用法
- server.mappath用法
- Server.MapPath() 用法
- Server.MapPath()用法
- Server.MapPath的使用
- oracle纵表查询
- 系统架构与架构应用
- form表单分析
- makefile教程---nmake命令编译器的使用
- Android中利用OnTouchListener在ImageView中框选显示图片
- Server.MapPath的用法
- android Debuger 出现:"Waiting for Debugger - Application XXX is waiting for the debugger to Attach"
- 窗体与界面设计
- U-Boot编译过程分析
- linux 常用命令 自己总结
- 诺西财报夜话
- [Android学习]ImageView的scaletype属性
- Linux中关于静态库和动态库的小结
- linux常用命令 copy