第一步:导入四个jar包
第二步:建立一个web文件,写入登录页面
<html>
<head>
<title>登录面</title>
</head>
<body>
<h1>登录</h1>
<%--action是表单要提交的地址 method表达提交的方式--%>
<form action="login" method="post">
账户:<input type="text" name="user" value=""><br/>
密码:<input type="password" name="mm" value=""><br/>
<input type="submit" value="登录">
</form>
</body>
</html>