posted @ 2005-10-27 15:50 bestcomy 阅读(2193) | 评论 (5) 编辑 |
10 2005 档案
摘要: stringaburl=Request.ApplicationPath;if(!aburl.EndsWith("/"))aburl+="/";aburl+="dir/some.aspx";其实是个小问题,但是发现比较普遍。很多项目都是在作为一个虚拟目录来开发的,其中的一些绝对路径的位置当部署到站点的时候就不对了。因为Request.ApplicationPath在虚拟目下返回值是 "/[虚拟目录名...阅读全文
posted @ 2005-10-13 13:17 bestcomy 阅读(4834) | 评论 (8) 编辑 |
posted @ 2005-10-10 11:27 bestcomy 阅读(3809) | 评论 (7) 编辑 |

