Summary

In this chapter, you learned how to make a complete form. We created a model using Java 8 dates, and you learned how to format information coming from the user and display it accordingly.

We ensured that the form was filled with valid information, with validator annotations, including our own. Also, we prevented obviously incorrect information from even hitting the server by including some client-side validation very easily.

Finally, we even translated the whole application into English and French, date formats included!

In the next chapter, we will build a space where the users will be able to upload their pictures and learn more about error handling in Spring MVC applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset