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 is difference between ioc and dependency injection?

0 Answers  


What are the various ways in which spring framework can be used?

0 Answers  


What is meant by ioc in spring?

0 Answers  


What is autowired in spring boot? : Spring Boot

0 Answers  


Does ienumerable support lazy loading?

0 Answers  


What is the role of web.xml in spring mvc and where is it located?

0 Answers  


What do you mean by @qualifier in spring?

0 Answers  


What is the role of ioc?

0 Answers  


Why it is called ioc in spring?

0 Answers  


What does inject it mean?

0 Answers  


What is core module in spring?

0 Answers  


How does dao work? : Spring Boot

0 Answers  


Categories