Stage 2 · Topic 2 - JSP · Session 1: Elements and Directives
<form action="welcome.jsp">
<input type="text" name="uname">
<input type="submit" value="go"><br/>
</form>
name="uname" is the key. When the form is submitted the
browser sends uname=<whatever was typed> to the server, and
request.getParameter("uname") fetches it back.