Reputation: 273452
I am developing an app with Spring MVC (3.0).
I defined some controllers with annotations, how can I define an intereceptor with annotations too.
Upvotes: 3
Views: 1772
Reputation: 403451
You can't. Hopefully we'll get that in 3.1. Until then, we have to use the HandlerInterceptor
interface.
Upvotes: 3