<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div id="library" align="center">
<form action="addServlet" method="post">
<tr>
<h1>图书管理系统 </h1>
</tr>
<table align="center">
<tr>
<td>身份:
<select name="profession">
<option value="1">管理员</option>
<option value="2">读者</option>
</select>
</td>
</tr>
<tr><td>
用户名:<input pattern="[a-zA-Z0-9]{6,12}" name="username"></td></tr>
<tr><td>
密码:<input pattern="[a-zA-Z0-9]{6,12}" type="password" name="password"></td> </tr>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="submit" value="登录"></div></td> </tr>
</table>
</form>
</div>