Hi,
I am implementing form handling. I have a form page student.jsp where the user is required to fill in the details.
I have a POJO class for that. Then I have a formOutput.jsp which displays the user details.
Here is the code for my controller
My code is working fine. Can anyone please tell me what is the role of "@ModelAttribute("SpringWeb")Student student" parameter in addStudent method.
Thanks.
My POJO class
My form
jsp