June 2014
Beginner to intermediate
304 pages
7h 25m
English
In this section, you will learn how to validate a form submission in a Spring MVC application. In our project, we have the add products form already. Add some validation to this form by performing the following steps:
pom.xml file—you can find pom.xml under the root directory of the project itself.pom.xml file. Select the Dependencies tab and click on the Add button in the Dependencies section.org.hibernate, enter Artifact Id as hibernate-validator, enter Version as 4.3.1.Final, select Scope as compile, and click on the OK button and save pom.xml.Product domain class and add the ...