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. ...