HTML forms are typically used to obtain information from visitors to a Web site - things like their name, mailing address, phone number, and the like - and this information is then processed in a variety of different ways. Some sites store it in a database; others email it to the webmaster; and still other simply redirect it to the trash basket. By using JSP to process a form, you can write simple code snippets that accomplish all of these actions.
Let's begin with a simple example.
<form method="GET" action="matrix.jsp">
<table cellspacing="5" cellpadding="5" border="0">
<font size="-1">Name, rank and serial, number, soldier!</font>
<input type="text" name="name" size="10">
<td colspan="2" align="center">
The most critical line in this entire page is the