SpringMVC-9.多模块开发
像struts2是以packetage方式来管理区分各个模块,springMVC基于注解的方式如何来区分?
为控制器也加上请求映射信息
UserController
ProductController
应用
若要访问usercontroller中add方法 /user/add.do
若要访问productcontroller中add方法 /product/add.do
像struts2是以packetage方式来管理区分各个模块,springMVC基于注解的方式如何来区分?
为控制器也加上请求映射信息
UserController
ProductController
应用
若要访问usercontroller中add方法 /user/add.do
若要访问productcontroller中add方法 /product/add.do
相关推荐
最喜欢秋天的火龙果很...:第一份工作一定要往大的去,工资低点没事。后面换工作会更好找,即使你去小公司,你也不可能不会换工作的。所以找大的去