ITeye博客

sping DefaultAnnotationHandlerMapping

kkcheng · 2012-03-22 22:15 · 编程语言 · Markdown

If you define custom HandlerMapping beans in your DispatcherServlet context, you need to add a DefaultAnnotationHandlerMapping bean explicitly, since custom HandlerMapping beans replace the default mapping strategies. Defining a DefaultAnnotationHandlerMapping also allows for registering custom interceptors:

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。