📄 reginfo.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>注册客户信息</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script language="JavaScript">
<!--
function Juge(theForm)
{
if (theForm.name.value == "")
{
alert("请输入用戶名!");
theForm.name.focus();
return (false);
}
if (theForm.pwd.value == "")
{
alert("请输入密碼!");
theForm.pwd.focus();
return (false);
}
if (theForm.pwd1.value == "")
{
alert("请输入確認密碼!");
theForm.pwd1.focus();
return (false);
} else if(theForm.pwd.value!=theForm.pwd1.value){
alert("兩次輸入的密碼不同,請輸入密碼!");
theForm.pwd.value="";
theForm.pwd1.value="";
theForm.pwd.focus();
return (false);
}
}
-->
</script>
</head>
<body>
<form name=theForm action="/netservice/servlet/Register" method="post" onsubmit="javascript:return Juge(this);">
<table width="60%" height="75%" align="center" border="0" bgcolor="#00ff00">
<tr><td>用户名: <td><input type=text name="name" maxlength="30">
</tr>
<tr><td>密 码:<td><input type=text name="pwd" maxlength="20">
</tr>
<tr><td>确认密码:<td><input type=text name="pwd1" maxlength="20">
</tr>
<tr><td><td>
</tr>
<tr><td colspan="2" align="center"><input type="submit" value="提交"></td><td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -