The check point

In this chapter, we added two controllers, the PictureUploadController, which is in charge of writing uploaded files to the disk and handling upload errors, and the SearchController that can search tweets from a list of keywords with matrix parameters.

This controller then delegates the search to a new service, SearchService.

We deleted the old TweetController.

We created a session bean, UserProfileSession, to store the information about our user.

Finally, we added two things to WebConfiguration. We added the error pages for our Servlet container and support for matrix variables.

The check point

On the resources side, we added a picture representing ...

Get Spring MVC: Designing Real-World Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.