diff --git a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/view-resolvers.adoc b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/view-resolvers.adoc index 5a0de6171d3f..ce6c21b202ba 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/view-resolvers.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/view-resolvers.adoc @@ -10,6 +10,15 @@ default `View` for JSON rendering: include-code::./WebConfiguration[tag=snippet,indent=0] +[NOTE] +==== +Calling `registry.jsp()` registers an `InternalResourceViewResolver` +with a default prefix of `/WEB-INF/` and a suffix of `.jsp`. +Explicit configuration is only required if JSP files are located +in a different directory or use a different extension. +==== + + Note, however, that FreeMarker, Groovy Markup, and script templates also require configuration of the underlying view technology. The following example works with FreeMarker: