Icefaces user session expired popup

Icefaces user session expired popup:

Icefaces user session expired popup issue has been resolved after adding the below entries in the deployment descriptors (web.xml),

The below one will redirect you to the ERRORPAGE.jsp onclick of any button after session timeout,
[plain gutter=”false”]
org.icefaces.sessionExpiredRedirectURI /ERRORPAGE.jsp
[/plain]

But ensure you have added this entry too,

[plain gutter=”false”]

javax.faces.application.ViewExpiredException
/ERRORPAGE.jsp

[/plain]

If you want to redirect to ERRORPAGE.jsp after the session timeout automatically, then have to add the below code to web.xml (deployment descriptor)

[plain gutter=”false”]
org.icefaces.strictSessionTimeout true
[/plain]

Try changing org.icefaces.strictSessionTimeout to com.icefaces.strictSessionTimeout, if the above solutions did not work. This will vary based on the icefaces versions.

Thanks for reading this post……..!!!

Leave a Reply