JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Web Framework » JSF  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 JSF2 ViewExpiredException問題
uto





發文: 14
積分: 0
於 2010-09-30 23:40 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Hi All

我有一個網頁,不需要登入也不需session timeout,但使用JSF頁面放久了(tomcat server session timeout)頁頁會出現ViewExpiredException,這個解決除了將頁面導到timeout頁面還有其它解決嗎,因為不需要登入,submit後突然要導到別的頁面(timeout)感覺怪怪的,不知大家都如果處理此問題。


reply to postreply to post
作者 Re:JSF2 ViewExpiredException問題 [Re:uto]
atticcat

There is no cookie



發文: 702
積分: 4
於 2010-10-01 10:24 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
看看這份文件有沒有幫助..
http://seamframework.org/Documentation/UsersAreSeeingAViewExpiredExceptionWhenClickingOnStalePagesHowCanIPreventThis


reply to postreply to post
About Cat
Linkedin
作者 Re:JSF2 ViewExpiredException問題 [Re:atticcat]
uto





發文: 14
積分: 0
於 2010-10-03 20:32 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝回覆,我在web.xml中使用如下的設定解決這個問題。

  <context-param>
    <param-name>com.sun.faces.enableRestoreView11Compatibility</param-name>
    <param-value>true</param-value>
  </context-param>


reply to postreply to post
» JWorld@TW »  Web Framework » JSF

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8