|
Hi folks!
I’m looking for the best way to handle backend exceptions in jsf. My backend methods haven’t any string as return value so I can’t use this way:
context.getNavigationHandler.handleNavigation(context, null, “error”)
I’ve tried to use the redirect method: context.getExternalContext().redirect(…)
It worked BUT I wanna show some specific exception information at my error page.
The exception-page tag in the web.xml didn’t work – I don’t know why….
What’s about PhaseListeners or ServletFilters?
QUESTION: Is there a good way to handle backend exceptions or better to handle all exceptions jsf exceptions, backend exceptions and show exception informations at the same error page??
regards,
Stefan
|

