沉睡森林@漂在北京

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

            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 王總兵 閱讀(315) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 青海省| 临朐县| 汶上县| 浪卡子县| 海丰县| 修武县| 海门市| 曲阳县| 唐海县| 天祝| 日喀则市| 定西市| 通道| 瓦房店市| 德惠市| 新闻| 尖扎县| 京山县| 通山县| 九江县| 汝南县| 石泉县| 麻江县| 弋阳县| 木里| 靖江市| 柳州市| 台东市| 苍山县| 米泉市| 正镶白旗| 固阳县| 福建省| 临邑县| 绥阳县| 凉山| 西盟| 苗栗市| 西乡县| 清镇市| 获嘉县|