实现登录页面
打开NetBeans,创建Java Web项目
<hr><hr>
<form name="" action ="" method="post"> <table border="1">
<tr> <td>用户名:</td> <td><input type ="text" name="userName" size="20"></td>
</tr> <tr>
<td>密 码:</td> <td>
<input type ="password" name="userPassword" size="22"> </td>
</tr>
<tr>
<td>
<input type="submit" name="submit" value="登录 "></td> <td><input type ="reset" name="reset" value ="取消 "></td> </tr> </table> </form>