JSF error - Why your JSF error message might not be displayed
Using JavaServer Faces (JSF), if you can't see the error message (FacesError) you're creating in your controller/handler when you forward to a new JSP (JavaServer Page), the problem may be that you have a "redirect" tag in your faces-config.xml
file.
For example, the following JSF faces-config.xml
example shows the problem, where I do have a redirect
tag when I bounce control back to the login.jsp
page: