Spring MVC Validator Example

Spring MVC provides a Validator interface that we can use to validate objects. In this lesson, we will see how to perform validation within Spring MVC using the Validator interface.   1. Technologies used Spring 4.2.0.RELEASE Maven 3.0.5 Eclipse 4.5 JDK 1.6 Tomcat 7.0…

Struts 2 Custom Interceptor Example

Generally, the default interceptors are sufficient for most applications, however, we can still create our own interceptor when we need to implement more specific action processing. In this example, we are going to see how to write a custom interceptor…