Is it possible in Spring to have one method with two different urls with different params for each method?
Below is pseudo code
@RequestMethod(URL1-p
you can supply multiple mappings for your handler like this
@RequestMapping(value={"", "/", "welcome"}) public void handleAction(@ModelAttribute("A") A a, ...) { }
But if you want to use different parameters for each mapping, then you have to extract your method.