I am new to Spring MVC.
I am facing a simple problem but unable to understand how to do it.
I have a simple form containing an input field and a submit button. All i have to do is to enter the userid in the field and hit enter.. and the user with that id shows up.
But how to get the request parameters in the Controller class ?
i am not able to understand the @ModelAttribute annotation also..
Why should we use this annotation?
Please help me.