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

          最初是
          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 劉錚 閱讀(457) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): JSP and Servlet

          <2025年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          導(dǎo)航

          統(tǒng)計(jì)

          留言簿(1)

          文章分類(lèi)(141)

          文章檔案(147)

          搜索

          最新評(píng)論

          主站蜘蛛池模板: 天台县| 岚皋县| 吉木萨尔县| 高青县| 永宁县| 五指山市| 邯郸县| 航空| 手机| 武川县| 榆社县| 南投县| 堆龙德庆县| 呈贡县| 桂林市| 双城市| 娱乐| 阿坝县| 大田县| 昭通市| 当涂县| 綦江县| 行唐县| 平乐县| 民乐县| 寿宁县| 双牌县| 杭锦后旗| 淮阳县| 海南省| 南宁市| 雷波县| 湘潭市| 云阳县| 灌阳县| 西平县| 东台市| 镶黄旗| 临夏市| 黔西县| 巢湖市|