Handling session expiration with MyFaces
Note Customized onExpire handlers do not work under MyFaces. MyFaces handles exceptions by internally generating a debug page. To prevent this behavior, use the following: ... org.apache.myfaces.ERROR_HANDLING false ...