What is the proper way to forward a request in spring to a different controller?
@RequestMapping({\"/someurl\"}) public ModelAndView execute(Model model) { i
Try returning a String instead, and the String being the forward url.
@RequestMapping({"/someurl"}) public String execute(Model model) { if (someCondition) { return "forward:/someUrlA"; } else { return "forward:/someUrlB"; } }