Polish error pages documentation

Make it more clear that the `ErrorPage` path requires an URL mapping to
be registered.

Closes gh-3698
This commit is contained in:
Stephane Nicoll 2015-08-07 10:05:02 +02:00
parent 20c1c617ef
commit bae3dcba33
1 changed files with 2 additions and 1 deletions

View File

@ -1390,7 +1390,8 @@ the same data in HTML format (to customize it just add a `View` that resolves to
type `ErrorAttributes` to use the existing mechanism but replace the contents. type `ErrorAttributes` to use the existing mechanism but replace the contents.
If you want more specific error pages for some conditions, the embedded servlet containers If you want more specific error pages for some conditions, the embedded servlet containers
support a uniform Java DSL for customizing the error handling. For example: support a uniform Java DSL for customizing the error handling. Assuming that you have a
mapping for `/400`:
[source,java,indent=0,subs="verbatim,quotes,attributes"] [source,java,indent=0,subs="verbatim,quotes,attributes"]
---- ----