views:

434

answers:

1

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.

+2  A: 

You can't. Hopefully we'll get that in 3.1. Until then, we have to use the HandlerInterceptor interface.

skaffman