O'Reilly logo

Pro Spring MVC: With Web Flow by Seth Ladd, Colin Yates, Marten Deinum, Koen Serneels, Christophe Vanfleteren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  8

Resolving and Implementing Views

So far we have mainly used Java Server Pages (JSP) as our view technology; however, Spring MVC provides a very powerful and flexible mechanism to resolve and implement views. We looked briefly at the view resolving mechanism in Chapter 4; in this chapter we will take a closer look at the different ViewResolver implementations and see how we can create and use our own implementation.

We will also see which view technologies are supported by Spring MVC out-of-the-box, and we will create some custom implementations. Before we dive into the internals, however, let’s recap the view rendering process and API.

View Resolvers and Views

In Chapter 4 we discussed the request processing workflow of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required