zoukankan      html  css  js  c++  java
  • [转载]Request获取文件路径

           string s01 = Request.ApplicationPath;                          //testweb   
                string s02 = Request.CurrentExecutionFilePath;          //testweb/default.aspx   
                string s03 = Request.FilePath;                                     //testweb/default.aspx   
                string s04 = Request.Path;                                           //testweb/default.aspx   
                string s05 = Request.PathInfo;
                string s06 = Request.PhysicalApplicationPath;             //E:WWW estweb   
                string s07 = Request.PhysicalPath;                              //E:WWW estwebdefault.aspx   
                string s08 = Request.RawUrl;                                       //testweb/default.aspx   
                string s09 = Request.Url.AbsolutePath;                        //testweb/default.aspx   
                string s10 = Request.Url.AbsoluteUri;                           //http://www.test.com/testweb/default.aspx   
                string s11 = Request.Url.Host;                                      //www.test.com   
                string s12 = Request.Url.LocalPath;                             //testweb/default.aspx

  • 相关阅读:
    HDU Intelligence System(tarjan+缩点)
    CF Easy Tape Programming(题意)
    poj 3694 Network(边双连通+LAC)
    20121116 CF DIV.2
    poj 2942 Knights of the Round Table(点双连通)
    解决Navihelper.dll(女生宿舍)病毒的方法一则
    在C++ Builder中调用FORTRAN生成的DLL
    过去的2004
    怎么取得DLL文件中的函数名列表?
    Gmail invitations
  • 原文地址:https://www.cnblogs.com/LD1018/p/8042967.html
Copyright © 2011-2022 走看看