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


In this chapter, we learned how to define a controller and the usage of the @Controller annotation. After that, we learned the concept of relative request mapping, where we saw how to define request mapping at the controller level and understood how Spring relatively maps a web request to the controller request mapping method. We then learned about the role of a controller in Spring MVC and about how the dispatcher servlet uses handler mapping to find out the exact handler methods. We also saw various parameter binding techniques, such as URI template patterns, matrix variables, and HTTP GET request parameters to bind parameters with URLs. Finally, we saw how to implement a master detail view.

In the next chapter, we are going to explore various Spring tags that are available in the spring tag library. We will also learn more about form processing and how to bind form data with the HTTP POST parameter. Get ready for the next chapter!