FacesContext « Page « JSF Q&A

1. Custom message with FacesContext.getCurrentInstance().addMessage is not displayed in page (JSF)    stackoverflow.com

My page:

    <div id="header">
       <!-- content header -->
     <div id="content">

2. How to redirect to error page in JSF when FacesContext session attribute is not found    stackoverflow.com

I am developing a mobile webapp using JSF and Apache myFaces 1.2.9. During authentication i am calling a servlet which will do the authentication and then set some attribute in the session. And ...