Spring / Spring MVC Interview questions
Explain Interceptors in Spring MVC framework.
Handler interceptors are required when specific functionality need to be applied to certain requests. Handler Interceptors should implement the interface HandlerInterceptor and override the below methods.
preHandle is called before the actual handler is executed;
postHandle is called after the handler is executed;
afterCompletion is called after the request is complete.
More Related questions...