Book Image

Spring MVC Beginner's Guide

By : Amuthan Ganeshan
Book Image

Spring MVC Beginner's Guide

By: Amuthan Ganeshan

Overview of this book

Table of Contents (19 chapters)
Spring MVC Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


At the start of this chapter, we saw how to serve and process forms; we learned how to bind form data with a form-backing bean and read that bean in the controller. After that, we went a little deeper into form bean binding and configured the binder in our controller to whitelist some of the POST parameters from being bound to the form bean. We saw how to use one more special tag, <spring:message>, of Spring to externalize messages in a JSP file. Finally we also saw how to incorporate spring security to do basic authentication to access product add page.

In the next chapter, we will learn more about view and view resolvers.