Home > Exception Handling > Spring Set Default Error Page

Spring Set Default Error Page


java spring spring-mvc share|improve this question edited Jan 11 '14 at 12:09 asked Jan 11 '14 at 11:23 Christian Rudolph 5121517 add a comment| 6 Answers 6 active oldest votes up The interface looks like this: public interface HandlerExceptionResolver { ModelAndView resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex); } The handler refers to the controller that generated the exception (remember that ALL Rights Reserved. Examples Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation. this page

Does a spinning object acquire mass due to its rotation? Keep up the great progress. Thanks Craig. Tim says: May 27, 2014 at 8:38 am Cool!

Spring Boot Custom Error Page

Here is a typical configuration using XML: