摘要:        
站点下面可以嵌套有子站点,下面的代码可以支持获取子站点的根路径,变量vdir_prefix的值为站点名(或者是子站点名称)。vb.net例子:View Code 1 Public Shared Function GetApplicationPath() As String 2 Dim VDIR_PREFIX As String 3 Dim loc As String 4 5 vdir_prefix = "OS" 6 loc = HttpContext.Current.Request.Url.AbsolutePath 7 If loc.IndexOf("//&quo    阅读全文
    
posted @ 2011-08-05 16:48 Jonathan Deng 阅读(421) 评论(0) 推荐(0)
                    
                
浙公网安备 33010602011771号