This is a JSF based Servlet web application. Request first goes to doGet method of my Servlet. I have this code in my doGet method MyBean myBean = (MyBean) request.getSession().getAttribute("myBean"); After this PhaseListener gets called. And in PhaseListener I have the above NavigationHandler code. But, still am getting Unable to find ServletResponse Facelet viewId: . What could be the posssible cause for this error?