Reputation: 15
How to handle 400,404,500,501 etc in a BaseController
which can be extend by all child controllers in spring.
I need an example on this.
Upvotes: 0
Views: 74
Reputation: 1841
This is independent of spring, you can define it in the web.xml, have a look at How to specify the default error page in web.xml?
Upvotes: 1