By default, if an exception occurs in a JSF application, it blurts out a very ugly stack trace onto the console. I want it to be presented in a nice form with proper information about the various backing beans, the request, session states, etc and finally the stack trace.
Is there a way to present such a customized error page.
Not really. But I've found that Facelets can make it less of a guessing game.
An IDE is no substitute for an Intelligent Developer.
Joined: Aug 24, 2005
Originally posted by Tim Holloway: Not really. But I've found that Facelets can make it less of a guessing game.
I am aware of the Facelets api but unfortunately, currently, i have to stick to the JSF-JSP combo. Is there a way to, maybe, develop some custom component, which would sort of give a much better picture of the JSF environ when an exception occurs. Like, if you use the "Wicket" framework, it exactly pinpoints where the problem, which is something, yet again, missing in JSF :-(
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com