Java Reference
In-Depth Information
L ISTING 4.2
Continued
<TD><INPUT NAME=”Last Name” ALIGN=”left” SIZE=”15”></TD>
</TR>
<TR>
<TD>First Name:</TD>
<TD>
<INPUT ALIGN=left NAME=”First Name” SIZE=15>&nbsp;</TD>
</TR>
<TR>
<TD>Age:</TD>
<TD>
<INPUT ALIGN=left NAME=Age SIZE=2>&nbsp;</TD>
</TR>
<TR>
<TD>SSN:</TD>
<TD>
<INPUT ALIGN=left NAME=SSN SIZE=11>&nbsp;</TD>
</TR>
<TR>
<TD>DOB:</TD>
<TD>
<INPUT ALIGN=left NAME=DOB SIZE=8>&nbsp;</TD>
</TR>
<TR>
<TD>Username:</TD>
<TD>
<INPUT ALIGN=left NAME=Username>&nbsp;</TD>
</TR>
<TR>
<TD>Password:</TD>
<TD>
<INPUT ALIGN=left NAME=Password SIZE=8 type=password>&nbsp;
</TD>
</TR>
</TABLE>
<INPUT TYPE=”submit” NAME=”Submit” VALUE=”Submit”>
<INPUT TYPE=”reset” VALUE=Reset>
</FORM>
4
</BODY>
</HTML>
After you have examined both of these listings, build and install the servlet. The next thing you
will need to do is load the HTML document in your browser. The loaded page should look
similar to Figure 4.1.
 
Search WWH ::




Custom Search