【SpringMVC框架】非注解的处理器映射器和适配器

参考来源:     http://blog.csdn.net/acmman/article/details/46968939

 

处理器映射器就是根据URL来找Handler,处理器适配器就是按照它要求的规则(handler instanceof XXX接口)去执行Handler。但是我们发现有些麻烦的就是,一个Handler类中都是一个方法。下次我们就来说注解的映射器和适配器。

< listener> < listener-class> org.springframework.web.context.ContextLoaderListener< /listener-class> < /listener> < context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value> < /context-param>

posted @ 2017-05-22 21:15  奋斗的少年WH  阅读(162)  评论(0编辑  收藏  举报