Reputation: 3834
I want to handle custom errors like 401, 403, 500 etc in Spring 3.2 application using Filters
. I do not want to use the web.xml approach of defining the error pages.
I tried to follow the solution listed at How to handle exceptions thrown while rendering a view in Spring MVC?
But ErrorHandler.handle does not really exist.
How can I use filters to catch all the errors and redirect to different views ?
Upvotes: 0
Views: 69