4 Replies Latest reply on Nov 25, 2008 10:29 AM by bengan

    what's different between AjaxStateManager and JspStateManage

      in my web APP I use myfaces1.2.4 and richfaces3.2.2 . I config :

      <context-param>
       <param-name>
       org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
       </param-name>
       <param-value>5</param-value>
      </context-param>


      and I config :
      <state-manager>
       org.apache.myfaces.application.jsp.JspStateManagerImpl
      </state-manager>


      but when I visited some pages more then 5 my APP throws Exception:
      javax.faces.application.ViewExpiredException - myxxx.jsf No saved view state could be found for the view identifier: myxxx.jsf

      but when I try to config <state-manager> use AjaxStateManager, no any Exception be throwed.

      why?? what's different between AjaxStateManager and JspStateManagerImpl??