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 are services in spring boot? : Spring Boot
How do spring transactions work internally?
What is mvc in swing?
Different spring bean scope.
Explain the function of spring mvc interceptor along with its usage.
What is the use of beanpostprocessor in spring?
What are the different types of dependency injections?
What are microservices in spring?
What do you mean by ioc in spring?
What is constructor injection?
When are declarative and programmatic transaction management used?
What is significance of jsf- spring integration?
What is the difference between java and spring?
What is the difference between war file and jar file?
What is aop alliance?