<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
    主站蜘蛛池模板: 成人免费男女视频网站慢动作| 亚洲香蕉免费有线视频| 日韩免费福利视频| 亚洲一线产区二线产区区| 免费国产成人高清在线观看网站| 亚洲国产亚洲片在线观看播放| 毛片免费全部播放无码| 亚洲人成网网址在线看| a级毛片无码免费真人| 亚洲精品无码不卡在线播放| 日韩中文无码有码免费视频 | 亚洲ⅴ国产v天堂a无码二区| 久久精品免费一区二区三区| 亚洲黑人嫩小videos| 99在线精品免费视频九九视| 亚洲依依成人亚洲社区| 国产三级电影免费观看| 一级做受视频免费是看美女| 日韩亚洲一区二区三区| 亚洲无砖砖区免费| 亚洲人成色777777精品| 亚洲Av无码乱码在线观看性色| 国产A∨免费精品视频| 无码专区—VA亚洲V天堂| 97在线观免费视频观看| 老司机免费午夜精品视频| 国产亚洲精品无码专区| 1区2区3区产品乱码免费| 亚洲精品亚洲人成在线| 国产亚洲精品拍拍拍拍拍| **一级一级毛片免费观看| 亚洲色成人网站WWW永久四虎 | 成年女人午夜毛片免费看| 免费国产高清毛不卡片基地| 久久精品国产精品亚洲艾| 好男人www免费高清视频在线| 一级特级女人18毛片免费视频| 久久亚洲AV成人无码软件| 国产精品成人免费综合| 精品免费tv久久久久久久| 亚洲国产精品美女久久久久|