如果使用Spring 3,则可以使用
params属性来区分控制器方法:
<input type = "submit" name = "next" value = "Next" /><input type = "submit" name = "back" value = "Back" />
。
@RequestMapping(..., params = "next")public ModelAndView next(...) { ... }@RequestMapping(..., params = "back")public ModelAndView back(...) { ... }


