<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="CSS/admin.css" rel="stylesheet" type="text/css" />
<title>用户注册</title>
</head>
<body>
<form action="doRegServlet" method="post">
<div id="opt_type">注册用户</div>
用户名:<input type="text" class="classlist" name="userName"/>
<span style="color:red"> <%
String uMsg = (String) request.getAttribute("uerrmsg");
if (uMsg == null) {
out.print("");
} else {
out.print(uMsg);
}
%> </span><br/>
密码:<input type="password" class="classlist" name="password"/>
<span style="color:red"> <%
String pMsg = (String) request.getAttribute("pwderrmsg");
if (pMsg == null) {
out.print("");
} else {
out.print(pMsg);
}
%></span><br/>
<input type="submit" value="提交" class="classlist"/>
<input type="reset" value="重置" class="classlist"/>
</form>
</body>
</html>
新闻发布项目——注册页面(reg.jsp)
最新推荐文章于 2021-11-18 15:11:30 发布