F
ff_ff
Unregistered / Unconfirmed
GUEST, unregistred user!
<%@ page contentType="text/html;charset=GBK"
%>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<link href="rs/css.css"
rel="stylesheet"
type="text/css">
<title>新用户注册</title>
</head>
<body>
<center>
<script language="JavaScript">
function checkForm()
{
//非空
if(loginForm.name.value == ""
{
alert("用户名不能为空!"
Form1.txtTitle.focus();
return false;
}
}
</script>
<h3> </h3>
<h3>新用户注册</h3>
<hr>
<form name="loginForm"
method="post"
action="RegServlet"
onsubmit="return checkForm()">
<table width="37%"
border="1">
<tr>
<td width="39%">用户名:</td>
<td width="61%"><input type="text"
name="name"></td>
</tr>
<tr>
<td>密码:</td>
<td><input type="password"
name="password"></td>
</tr>
<tr>
<td>确认密码:</td>
<td><input type="text"
name="affirm"></td>
</tr>
<tr>
<td>番号:</td>
<td><input type="text"
name="dept"></td>
</tr>
</table>
<p>
<input type="submit"
name="Submit"
value="提交"></td>
<input type="reset"
name="reset"
value="重置"></td>
</form>
</center>
</body>
</html>
%>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;
charset=gb2312">
<link href="rs/css.css"
rel="stylesheet"
type="text/css">
<title>新用户注册</title>
</head>
<body>
<center>
<script language="JavaScript">
function checkForm()
{
//非空
if(loginForm.name.value == ""
{
alert("用户名不能为空!"
Form1.txtTitle.focus();
return false;
}
}
</script>
<h3> </h3>
<h3>新用户注册</h3>
<hr>
<form name="loginForm"
method="post"
action="RegServlet"
onsubmit="return checkForm()">
<table width="37%"
border="1">
<tr>
<td width="39%">用户名:</td>
<td width="61%"><input type="text"
name="name"></td>
</tr>
<tr>
<td>密码:</td>
<td><input type="password"
name="password"></td>
</tr>
<tr>
<td>确认密码:</td>
<td><input type="text"
name="affirm"></td>
</tr>
<tr>
<td>番号:</td>
<td><input type="text"
name="dept"></td>
</tr>
</table>
<p>
<input type="submit"
name="Submit"
value="提交"></td>
<input type="reset"
name="reset"
value="重置"></td>
</form>
</center>
</body>
</html>