Anjali Raman wrote:
and by the way I even changed it to form action="result.jsp", yet there was no change..
You must be misinterpreting something because there is no magic that will make request parameters automatically appear as scoped variables (aka "attributes"). You must explicitly set values as scoped variables for them to exist.
But from the example that I see in the book, I should be able to do
<%=request.getAttribute("name") %> and the name entered in the HTML page should be displayed