Created
June 5, 2013 07:45
-
-
Save yushiro/5712260 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request.ApplicationPath | |
动态获取当前虚拟目录 | |
网站代码放在/abc/这个虚拟目录下(包含web.config) | |
xx.xx.com/abc/aa.aspx | |
与xx.xx.com/abc/def/aa.aspx | |
都会返回/abc这个值(虚拟目录路径) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment