JSP的代码:
<body>
<form action="login" method="post">
账号: <input type="text" name = "user" id="user"/>
密码: <input type="password" name = "password" id="password"/>
<input type="submit" value = "登陆" />
<input type="reset" value = "取消"/>
</form>
</body>
<body>
<form action="login" method="post">
账号: <input type="text" name = "user" id="user"/>
密码: <input type="password" name = "password" id="password"/>
<input type="submit" value = "登陆" />
<input type="reset" value = "取消"/>
</form>
</body>