O'Reilly logo

Spring MVC Beginner’s Guide by Amuthan G

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Working with Spring Tag Libraries

In previous chapters, we learned how to put data into the model from the controller, but we haven't seen how to do this the other way around. This means that we haven't learned how to put the data from the view into the model. In Spring MVC, the process of putting an HTML form element's values into model data is called form binding.

Spring MVC provides some JSP tag libraries to make it easier to bind form elements to model data. Spring tag libraries also support various other common functionalities, such as, externalizing messages and error handling. In this chapter, we are going to learn more about how to make use of these predefined tag libraries of Spring.

After finishing this chapter, we will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required