JSF 1.2 difference between exception in action and actionListener

I noticed that JSF 1.2. does not return an error page when an exception was thrown in the actionListener method, but returns an error page when an exception was thrown in the action method. Why is this? Can it return an error page in both cases?

+3
source share
1 answer

Any exception that is thrown in a method FacesEventis silently caught and authenticated at AbortProcessingExceptionand logged into the console. This is exactly the same as in the spec.

ActionEvent ( FacesEvent) . . , , , - - ( ).

+5

Source: https://habr.com/ru/post/1768575/


All Articles