Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to handle exceptions in spring mvc framework?



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

Post New Answer

More Spring Framework Interview Questions

What are the important beans lifecycle methods?

0 Answers  


What do you mean by pointcut?

0 Answers  


What is the point of the factory pattern?

0 Answers  


What is a spring transaction?

0 Answers  


What is @postconstruct in spring boot? : Spring Boot

0 Answers  


What is spring framework?

0 Answers  


What are advices in spring?

0 Answers  


Are spring components singletons?

0 Answers  


What are spring jdbc templates used for?

0 Answers  


List some of the benefits of ioc.

0 Answers  


What is beanpostprocessor in spring?

0 Answers  


Why should I use dependency injection?

0 Answers  


Categories