Answer Posted / nashiinformaticssolutions
There are two methods for managing exceptions in Spring MVC:
Exception handler method: The @ExceptionHandler annotation type is used to annotate a method to handle exceptions in this type of exception handling.
XML Configuration: The exception can be mapped by the user using the Simple Mapping Exception Resolver bean in the Spring application file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is application context?
What is oem odm?
Explain tasklet in spring batch.
Explain xml schema-based aspect implementation ?
How to get the servletcontext and servletconfig objects inside spring bean?
Can we autowire controller in spring?
How is spring different from spring boot? : Spring Boot
What is spring dto?
What is lazy connection?
What are beans in java spring?
What is aop proxy?
How do you autowire annotation in spring?
Categorize the different types of modules in spring framework.
What is webapplicationcontext?
What is microservice in spring?