Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Custom error pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Custom error pages" Watch "Custom error pages" New topic
Author

Custom error pages

Felix Sima
Ranch Hand

Joined: Feb 06, 2008
Posts: 42
Hello.

I would like to use custom error pages in my rich faces application for some HTTP error codes.

In my web.xml I have:



but I get the browser's 404 error page when the page is not found.

Is there any solution/workaround to this problem?
Thank you in advance.

Best regards,
Felix Sima
Use www.jaaava.com - A Google for Java
 
Have you checked out Aspose?
 
subject: Custom error pages
 
It's not a secret anymore!