@ RequestMapping ("/ showStudent") public String showUpdateForm (@RequestParam ("customerName") Имя строки, модель) {
Student stu = studentService.getByName(name);
model.addAttribute("student", stu);
return "showStudent";
}
enter code here
<form:form action = "showStudent" modelAttribute = "student" method="POST">
<form:input type = "text" min="1" path = "${student.firstName}"/>
<input type ="submit" value="${student.firstName}"/>