在URL跳轉(zhuǎn)中有關(guān)絕對地址和相對地址的確定

          最初是
          http://localhost:8080/app/cool.do
          如果是sendRedirect("foo/stuff.html")
          那么the Container builds the full URL :
          http://localhost:8080/app/cool/foo/stuff.html

          如果是sendRedirect("/foo/stuff.html")
          那么the Container builds the full URL :
          http://localhost:8080/app/foo/stuff.html

          posted on 2007-11-09 09:20 劉錚 閱讀(462) 評論(0)  編輯  收藏 所屬分類: JSP and Servlet

          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          導航

          統(tǒng)計

          留言簿(1)

          文章分類(141)

          文章檔案(147)

          搜索

          最新評論

          主站蜘蛛池模板: 黄冈市| 保定市| 方山县| 红安县| 六安市| 洪洞县| 礼泉县| 绥阳县| 奇台县| 安泽县| 墨脱县| 曲阳县| 中卫市| 容城县| 望谟县| 平乡县| 河间市| 壤塘县| 聂拉木县| 宁远县| 萍乡市| 台北县| 定陶县| 广南县| 威信县| 吉安市| 香港 | 射阳县| 咸阳市| 揭阳市| 沙洋县| 长葛市| 错那县| 分宜县| 册亨县| 南开区| 常德市| 南岸区| 阿鲁科尔沁旗| 浑源县| 左云县|