spring MVC注解配置

基于注解的spring 非常整洁

1.导入注解包后,在spring的配置文件的。加入以下配置

 

2.控制类

posted @ 2018-04-02 21:25  林被熊烟岛  阅读(98)  评论(0)    收藏  举报