Chapter 3. Control Your Store with Controllers
In Chapter 2, Spring MVC Architecture – Architecting Your Web Store, we learned the overall architecture of a Spring MVC application. We didn't go into any of the concepts in detail; our total aim was to understand the overall flow. In this chapter, we are going to have an in-depth look at the controllers in Spring MVC as they have an important role.
This chapter will cover the following concepts:
- Defining a controller
- URI template patterns
- Matrix variables
- Request parameters