spring系列---- spring-mvc2 spring-mvc的常用注解

1.spring-mvc的执行流程

2.spring-mvc 

@Controller注解:指示spring类的实例的一个控制器

@RequestMapping注解:指示spring用哪一个类或方法来处理请求动作,可用于类或方法

3.参数绑定注解

 

 

 

问题1:eclipse The word 'springmvc' is not correctly spelled

原因:eclipse校验单词拼写造成

解决方案:eclipse下的Window–Preference输入spell,然后把第一个复选框“Enable spell checking“给去掉就可以了。如图:

 

posted on 2021-03-25 14:57  A大雄  阅读(37)  评论(0编辑  收藏  举报

导航