<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 0,  comments - 0,  trackbacks - 0

         If you add a redirect element after to-view-id, then the JSP container terminates the current request and sends an HTTP redirect to the client. The redirect response tells the client which URL to use for the next page.

        Redirecting the page is slower than forwarding because another round trip to the browser is involved. However, the redirection gives the browser a chance to update its address field.

    Figure 3-8 shows how the address field changes when you add a redirection element, as follows:

    <navigation-case>
          
    <from-outcome>success</from-outcome>
          
    <to-view-id>/success.jsp</to-view-id>
          
    <redirect/>
    </navigation-case>

    Without redirection, the original URL (localhost:8080/javaquiz/index.faces) is unchanged when the user moves from the /index.jsp  page to the /success.jsp face. With redirection, the browser displays the new URL (localhost:8080/ javaquiz/success.faces).

    Tip

    Use the redirect element for pages that the user might want to bookmark.

                                                              上文出自:《core JavaServer™ Faces, Second Edition》
    posted on 2007-12-11 18:09 *一凡* 閱讀(351) 評論(0)  編輯  收藏 所屬分類: JSF
    主站蜘蛛池模板: 久久丫精品国产亚洲av不卡 | 中文字幕免费在线播放| 免费观看a级毛片| 亚洲自偷自偷在线成人网站传媒| 无码精品国产一区二区三区免费| 亚洲国产一区在线| 91精品视频免费| 国产人成亚洲第一网站在线播放| 成年女人男人免费视频播放| 亚洲国产av玩弄放荡人妇| 日本不卡在线观看免费v| 特级一级毛片免费看| 中文字幕亚洲图片| 一级毛片免费毛片一级毛片免费 | 午夜精品射精入后重之免费观看 | 亚洲酒色1314狠狠做| 永久免费AV无码国产网站| 亚洲色欲色欱wwW在线| 免费一级国产生活片| 久久久久女教师免费一区| 亚洲欧洲国产日韩精品| 2021国产精品成人免费视频| 亚洲久热无码av中文字幕| 免费在线观看理论片| 久久这里只精品国产免费10| 亚洲精品一区二区三区四区乱码 | 亚洲欧美成人av在线观看| 又爽又高潮的BB视频免费看| 一个人看的免费高清视频日本| 亚洲AV无码乱码国产麻豆穿越| 日本h在线精品免费观看| 精品亚洲av无码一区二区柚蜜| 一本色道久久综合亚洲精品| 24小时日本电影免费看| 久久精品国产亚洲AV未满十八| 亚洲乳大丰满中文字幕| 欧美三级在线电影免费| 国产免费高清69式视频在线观看| 亚洲资源在线视频| 亚洲国产一级在线观看| 67pao强力打造国产免费|