NingG +

Spring MVC中常见注解(annotation)

下面常见注解:

几点:

@RequestMapping

几种情况:

Class:@RequestMapping标注在某个@Controller的类上,表示设定的url入口为当前类,默认当前类的${method.name}.do为url后缀;

参考来源

http://my.oschina.net/zhdkn/blog/316530

http://my.oschina.net/zhdkn/blog/208720

http://blog.csdn.net/jackyrongvip/article/details/9287281

Top