View /page.jsf could not be restored [duplicate]

℡╲_俬逩灬. 提交于 2019-12-03 08:15:23

You can set your session timeout parameter to 45 minute in web.xml like this

<session-config> 
   <session-timeout>45</session-timeout> 
</session-config>

also you can easily handle this exception in a seperate page by adding following code to your web.xml

<error-page>
    <exception-type>javax.faces.application.ViewExpiredException</exception-type>
    <location>/exception/sessionexpired.xhtml</location>
</error-page>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!