O'Reilly logo

Spring in Action, Second Edition by Ryan Breidenbach, Craig Walls

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

Chapter 14. Rendering web views

This chapter covers

  • Matching controllers to views

  • Rendering views with JSP, Velocity, and FreeMarker

  • Laying out pages with Tiles

  • Generating PDF, Excel, and RSS output

The controllers, services, and DAOs in an application live in a box we call the server. Those application components may be doing something very important, but unless we can see what they’re doing, we can only guess what’s going on in there. For an application to be useful, it needs a way to communicate with the user.

That’s where the V of MVC comes into play. The view of an application communicates information back to the user and prompts the user to communicate with the application. Without the view layer of an application, we can only guess what’s inside. ...

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