Spring MVC 3.0: how to define an interceptor with annotations?

I am developing an application with Spring MVC (3.0).

I defined some controllers with annotations, how can I define an interceptor with annotations too.

+3
source share
1 answer

You can not. I hope we get it in 3.1. Before that, we must use the interface HandlerInterceptor.

+3
source

Source: https://habr.com/ru/post/1731861/


All Articles