PhaseListener. Subsequently, I had another need to do a page redirection based on a value in the
HttpSession. I thought I would share the general idea of how to do it with you.
PhaseListenerallows us to take action at various integration points in the JSF lifecycle. The most likely place you will want to handle an internal redirection, is before the view is restored. We use the JSF
NavigationHandlerto do the work for us.