Java Reference
In-Depth Information
L
ISTING
9.2
Continued
<BODY>
<CENTER>
<H2>Please Login</H2>
</CENTER>
<FORM ACTION=”http://localhost/djs/servlet/RollYourOwnSecurityServlet”
➥
METHOD=”POST”>
User Id:<input type=”Text” name=”id” ><BR>
Password:<input type=”Password” name=”password”><BR>
<input type=”Submit” name=”login” value=”Login”>
</FORM>
</BODY>
</HTML>
Load the HTML file into your browser. You should see a screen similar to Figure 9.1.
9
F
IGURE
9.1
The login screen.