Create a form in the JSP. Inject the bean into whatever you're using on the server side to handle your web stuff. Get the request parameter and set it on the bean.
I think its tough to explain what you want in one or two sentences. Please go through the following step by step process and you can learn it your self. Post your doubts if you don't understand the process.