how to use request dipatcher and setAttribute?
He guys,
I need to pass parameter from servlet to a jsp page.
I have a login form which is an html page. It has an input field(username) and a password field.
When the submit button is clicked the username is passed in the url to the servlet. I'm using doGet().
I need to pass this parameter(username) to a jsp page.
I know it can be achieved through requestdispatcher, but how to do it?
Please help me with code sample.

