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

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