「Spring」RequestMethod.POSTを利用するサンプル
サンプルコード
@RequestMapping(value = “/display", method = RequestMethod.POST)
public String display(@ModelAttribute UserForm userForm, Model model) {
model.addAttribute(“info", “No : " + userForm.getNo() + " Addr : " + userForm.getAddr());
return “displayMsg";
}