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 main difference between spring and spring boot? : Spring Boot
What do you know the spring mvc interceptor and how is it used?
What is @entity annotation in spring?
How the aop used in spring?
What is dhcp pool?
How many types of spring scopes are there?
What is dependency injection in spring framework?
What is the use of beanpostprocessor in spring?
What is the purpose of spring framework?
What is ioc principle?
What are the differences between bean factory and application context?
What is pojo implementation?
What is controller in spring mvc framework?
What is the default scope of spring component?
What is spring stereotype annotations?