Chapter 13. Handling web requests
This chapter covers
Mapping requests to Spring controllers
Transparently binding form parameters
Validating form submissions
Mapping exceptions to views
As a JEE developer, you have more than likely developed a web-based application. In fact, for many Java developers, web-based applications are their primary focus. If you do have this type of experience, you are well aware of the challenges that come with these systems. Specifically, state management, workflow, and validation are all important features that need to be addressed. None of these is made any easier given the HTTP protocol’s stateless nature.
Spring’s web framework is designed to help you address these concerns. Based on the Model-View-Controller (MVC) pattern, ...