像struts2是以packetage方式来管理区分各个模块,springMVC基于注解的方式如何来区分?
为控制器也加上请求映射信息
UserController

ProductController

应用

    若要访问usercontroller中add方法  /user/add.do
    若要访问productcontroller中add方法  /product/add.do