[Spring入門]@RequestMapping の複数 value 属性を利用するコード
Javaコード:
@RequestMapping(value = { “/student", “/student/update" }, params = “method=back", method = RequestMethod.POST)
public String back() {
return “redirect:/top";
}
Coding Changes the World
Javaコード:
@RequestMapping(value = { “/student", “/student/update" }, params = “method=back", method = RequestMethod.POST)
public String back() {
return “redirect:/top";
}