How to handle exceptions in spring mvc framework?
Answer / 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 |
What is difference between ioc and dependency injection?
What are the various ways in which spring framework can be used?
What is meant by ioc in spring?
What is autowired in spring boot? : Spring Boot
Does ienumerable support lazy loading?
What is the role of web.xml in spring mvc and where is it located?
What do you mean by @qualifier in spring?
What is the role of ioc?
Why it is called ioc in spring?
What does inject it mean?
What is core module in spring?
How does dao work? : Spring Boot