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?

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


Please Help Members By Posting Answers For Below Questions

What is main difference between spring and spring boot? : Spring Boot

465


What do you know the spring mvc interceptor and how is it used?

422


What is @entity annotation in spring?

472


How the aop used in spring?

416


What is dhcp pool?

441


How many types of spring scopes are there?

406


What is dependency injection in spring framework?

417


What is the use of beanpostprocessor in spring?

406


What is the purpose of spring framework?

441


What is ioc principle?

390


What are the differences between bean factory and application context?

400


What is pojo implementation?

387


What is controller in spring mvc framework?

394


What is the default scope of spring component?

456


What is spring stereotype annotations?

392