adspace
Answer Posted / Divyendu Singh
In Struts, exceptions can be handled using ActionException and ExceptionHandler interfaces. The ActionException is a runtime exception that is thrown by an action class when an unexpected error occurs. An ExceptionHandler is responsible for catching the ActionExceptions and handling them appropriately. You can define custom exception handlers in your struts-config.xml file to handle specific exceptions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers