I need help handling the expired/non-existent conversation when ?cid=XX
is in the URL. I have tried to put
<error-page>
<exception-type>org.jboss.weld.context.ContextNotActiveException</exception-type>
<location>/faces/index.xhtml</location>
</error-page>
<error-page>
<exception-type>org.jboss.weld.context.NonexistentConversationException</exception-type>
<location>/faces/index.xhtml</location>
</error-page>
However these didn't work. I still get the error and couldn't forward to index.xhtml
. How can I solve this problem?