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 wiring in spring?

0 Answers  


Are singleton beans in spring a regular singleton object?

0 Answers  


Why spring cloud is required?

0 Answers  


Which are the ioc containers in spring?

0 Answers  


What is spring boot rowmapper? : Spring Boot

0 Answers  


What is classpathxmlapplicationcontext?

0 Answers  


How can beans be made singleton or prototype?

0 Answers  


What is dao layer in spring boot?

0 Answers  


Why do we need spring jdbctemplate?

0 Answers  


What is difference between @pathparam and @pathvariable?

0 Answers  


How does dependency injection work in spring?

0 Answers  


What is spring ioc and di?

0 Answers  


Categories