gbk

          jsp request get的對象

          request.getScheme() —— http
          request.getServerName() —— localhost
          request.getServerPort() —— 8080
          request.getContextPath() —— /vote
          request.getProtocol() —— HTTP/1.1
          request.getRemoteAddr() —— 127.0.0.1
          request.getRemoteHost() —— 127.0.0.1
          request.getRemotePort() —— 1316
          request.getRequestURI() —— /vote/test.jsp
          request.getRequestURL() —— http://localhost:8080/vote/test.jsp
          request.getServletPath() —— /test.jsp  

          posted on 2008-06-10 14:34 百科 閱讀(717) 評論(0)  編輯  收藏


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


          網站導航:
           

          My Links

          Blog Stats

          常用鏈接

          留言簿(2)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 嘉禾县| 宜兰县| 峨眉山市| 新晃| 凤阳县| 沙田区| 松滋市| 论坛| 邵东县| 方正县| 南城县| 嘉祥县| 合作市| 突泉县| 通化县| 沛县| 和林格尔县| 恩平市| 井冈山市| 望城县| 沂南县| 虹口区| 宕昌县| 新田县| 鄂温| 镇雄县| 本溪市| 东方市| 四子王旗| 佛学| 南丰县| 六枝特区| 沭阳县| 九龙坡区| 图木舒克市| 平和县| 南溪县| 海丰县| 延安市| 榆林市| 富顺县|