Add out-of-the-box support for status error pages

Allow convention based status error pages. Static HTML or templates
can be used by placing the appropriately named file under a `/error`
folder. For example:

	/src/main/resource/templates/error/404.ftl
or	/src/main/resource/public/error/404.html

Pages can also be named after the status series (5xx or 4xx).

Fixes gh-2691
This commit is contained in:
Phillip Webb
2016-04-29 10:36:34 -07:00
parent 0bd246a3ed
commit 0bf025af7b
15 changed files with 646 additions and 29 deletions