登录页面
<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8"%>
<html>
<head>
<title>用户登录</title>
</head>
<body>
<br>
<center>
<div style="font-size:20">
<font face="楷体" size="7" color="#000" >登录界面</font><br><br>
<form action = "check.jsp" method="post">
账号:<input type="text" name="username" value = "请输入用户名" maxlength = "16" onfocus = "if(this.value == '请输入用户名') this.value =''"><br>
密码:<input type="password" name="pwd" maxlength = "20"><br>
<input type="submit" name="submit" value="登录 ";>
<input type="reset" value="重新输入" name="reset" /><br>
还没有账号?请<a href="register.jsp">点击这里注册!</a>
</body>
</center>
</html>