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 ...

Get Spring MVC Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.