<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 *一凡* 閱讀(356) 評論(0)  編輯  收藏 所屬分類: JSF
    主站蜘蛛池模板: 永久免费观看的毛片的网站| 亚洲AV永久精品爱情岛论坛| 一级特黄a大片免费| 亚洲一区二区三区AV无码| 99re在线这里只有精品免费| 亚洲人成网站999久久久综合| 亚洲av麻豆aⅴ无码电影| 999任你躁在线精品免费不卡| 亚洲欧美第一成人网站7777| 激情97综合亚洲色婷婷五| 亚色九九九全国免费视频| 免费精品国自产拍在线播放| 亚洲美女aⅴ久久久91| 亚洲AV伊人久久青青草原| 永久在线免费观看| 春意影院午夜爽爽爽免费| 亚洲专区中文字幕| 亚洲中文字幕无码不卡电影| 免费人成视频在线| 久久国产免费观看精品| 羞羞视频免费观看| 亚洲高清日韩精品第一区| 亚洲精品视频免费| 久久久久久国产精品免费免费| 中文字幕免费在线看电影大全 | 欧美日韩亚洲精品| 亚洲成a人片77777老司机| 国产精品另类激情久久久免费| 久久免费动漫品精老司机| 人成免费在线视频| 亚洲一久久久久久久久| 亚洲制服中文字幕第一区| 国产精品亚洲产品一区二区三区| 久久精品a一国产成人免费网站| 精品国产污污免费网站| 青青久久精品国产免费看| 亚洲综合中文字幕无线码| 亚洲人成电影在在线观看网色| 亚洲综合区小说区激情区| 国产成人免费a在线资源| 免费无码A片一区二三区|