Maven configuration


You need the following jar files. So either add this pom.xml file to your application or download and add the jar files to your class-path.

?
<?xml version="1.0" encoding="UTF-8"?>
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
    <modelVersion>4.0.0</modelVersion>
 
    <groupId>org.camelcode</groupId>
    <artifactId>Spring-MVC-form-valiation-XML-configuration</artifactId>
    <version>1.0</version>
 
    <properties>
        <spring.version>3.0.5.RELEASE</spring.version>
    </properties>
 
    <dependencies>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>${spring.version}</version>
        </dependency>
    </dependencies>
</project>


Screenshots


Spring-MVC-Form-Validation-UserRegistrationValidation


Spring-MVC-Form-Validation-UserRegistration


Spring-MVC-Form-Validation-UserRegistrationSuccess

References