You are previewing Spring in Action, Third Edition.

Spring in Action, Third Edition

Cover of Spring in Action, Third Edition by Craig Walls Published by Manning Publications
O'Reilly logo

Chapter 7. Building web applications with Spring MVC


This chapter covers
  • Mapping requests to Spring controllers
  • Transparently binding form parameters
  • Validating form submissions
  • Uploading files


As an enterprise Java developer, you’ve likely developed a web-based application or two. For many Java developers, web-based applications are their primary focus. If you do have this type of experience, you’re 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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.