What are the type of exceptions handled by Exception handler in Struts 2
-
Unchecked
-
Checked
-
All of the Above
-
None of the Above
A
Correct answer
Explanation
The Struts 2 exception handling mechanism primarily handles unchecked exceptions (RuntimeException and its subclasses). Checked exceptions need to be caught and handled by the application code or wrapped in runtime exceptions. The exception mapping in struts.xml works with unchecked exceptions.