title: com.sun.faces.enableRestoreView11Compatibility what use instead in JSF 1.2
body: <p>When I have javax.faces.application.ViewExpiredException I want to send user to login page.</p>
  
  <p>web.xml</p>
  
  <pre><code>...
      &lt;context-param&gt;
          &lt;param-name&gt;com.sun.faces.enableRestoreView11Compatibility&lt;/param-name&gt;
          &lt;param-value&gt;true&lt;/param-value&gt;
      &lt;/context-param&gt;
  ...
   &lt;error-page&gt;
      &lt;exception-type&gt;javax.faces.application.ViewExpiredException&lt;/exception-type&gt;
      &lt;location&gt;/errors/sessionExpired.jsf&lt;/location&gt;
   &lt;/error-page&gt;
  </code></pre>
  
  <p>sessionExpired.jsf</p>
  
  <pre><code>....
  &lt;c:redirect url="/index.jsf" /&gt;
  </code></pre>
  
  <p>but enableRestoreView11Compatibility is method that was used in JSF 1.1, what is solution for JSF 1.2? </p>