Question - How do you configure a centralized error handler in servlets?
Answer -
If we wish to include a central Error Handler for all the exceptions then we can define following error-page instead of defining separate error-page elements for an individual exception
- java.lang.Throwable
- /ErrorHandler