沉睡森林@漂在北京

          本處文章除注明“轉載”外均為原創,轉載請注明出處。

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            152 隨筆 :: 4 文章 :: 114 評論 :: 0 Trackbacks
          URL:http://localhost:8080/greatwall/hi.do?username=1

          下面是測試的一些函數值:
          request.getPathInfo()=>null
          request.getContextPath()=>/greatwall
          request.getLocalAddr()=>127.0.0.1
          request.getLocalName()=>localhost
          request.getLocalPort()=>8080
          request.getPathInfo()=>null
          request.getQueryString()=>username=1
          request.getRealPath("/") =>C:\Program Files\apache-tomcat-6.0.18\webapps\greatwall\
          request.getRequestURI() =>/greatwall/hi.do
          request.getScheme() =>http
          request.getServerName() =>localhost
          request.getServletPath() =>/hi.do
          request.getRequestURL() =>http://localhost:8080/greatwall/hi.do
          posted on 2009-04-30 10:33 王總兵 閱讀(314) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 连南| 九龙坡区| 广南县| 绥中县| 类乌齐县| 剑川县| 辉南县| 禄丰县| 涟水县| 微山县| 元谋县| 寿阳县| 白城市| 乐清市| 临清市| 平舆县| 枣阳市| 合江县| 南岸区| 工布江达县| 阜城县| 喀什市| 马山县| 安化县| 大安市| 墨玉县| 赤壁市| 博客| 钦州市| 上饶市| 南宫市| 宜黄县| 宜川县| 佳木斯市| 称多县| 灌云县| 南宁市| 永善县| 锡林浩特市| 临湘市| 平舆县|