Skip to content

Commit 3940fb7

Browse files
authored
Update view-resolvers.adoc
Signed-off-by: DongNyoung Lee <[email protected]>
1 parent ec4390b commit 3940fb7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/view-resolvers.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ default `View` for JSON rendering:
1010

1111
include-code::./WebConfiguration[tag=snippet,indent=0]
1212

13+
[NOTE]
14+
====
15+
Calling `registry.jsp()` registers an `InternalResourceViewResolver`
16+
with a default prefix of `/WEB-INF/` and a suffix of `.jsp`.
17+
Explicit configuration is only required if JSP files are located
18+
in a different directory or use a different extension.
19+
====
20+
21+
1322
Note, however, that FreeMarker, Groovy Markup, and script templates also require
1423
configuration of the underlying view technology. The following example works with FreeMarker:
1524

0 commit comments

Comments
 (0)