File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Custom JSF Error Page not displaying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Custom JSF Error Page not displaying " Watch "Custom JSF Error Page not displaying " New topic
Author

Custom JSF Error Page not displaying

Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
I have failed to do a simple JSF custom error page similar to the example in Core JSF (Second Edition) Chapter 13.(How do I display custom error pages)
I have tried this several times but no luck in getting rid of the Tomcat Error Page for any exception.
It works fine if I have a plain jsp page or an html page, but not for a JSF page.A couple of months ago I implemented a solution based on
Mert Carliskan's bloghttp://www.jroller.com/mert/entry/handling_errors_with_an_errror for one of my other JSF apps and it worked fine.
However, I would like to do the same example mentioned in the Core JSF book and it simply doesn't work.
Any pointers or comments ?
Development Environment (Netbeans 6.1, Tomcat 6.0.18, Sun JSF RI 1.2)
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
Has anyone used custom error pages in jsf using the error page directive to display only a jsf page with the stack trace?
 
 
subject: Custom JSF Error Page not displaying
 
Similar Threads
How do I update a bean value from an AJAX call?
404 error loading
Calling XHTML page in jsp.
custom error page
Error Page Not Found