Is it possible to make automatic URL mapping in Spring MVC? For example, the url http://localhost/eshop/products calls the ProductController in the eshop module without an explicit @RequestMapping. The system should know that the first parameter is a module, and the second parameter is a controller. I do not want to make any changes to web.xml or to @RequestMapping every time I create a new controller.
source share