View Resolvers
The MVC configuration simplifies the registration of view resolvers.
The following example configures content negotiation view resolution by using JSP and Jackson as a
default View
for JSON rendering:
Note, however, that FreeMarker, Groovy Markup, and script templates also require configuration of the underlying view technology. The following example works with FreeMarker: