📄 register.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<style type="text/css">
<!--
.STYLE1 {color: #6699CC}
.STYLE2 {color: #669999}
-->
</style>
<head>
<base href="<%=basePath%>">
<title>My JSP 'register.jsp' starting page</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">
-->
</head>
<body background ="images/1.jpg">
<form action="/May/servlet/register" method="post">
<h3 class="STYLE1">博雅论坛登录</h3>
<table width="326" height="136" border="0">
<tr>
<td width="109" height="28"><span class="STYLE2">用户名</span>:</td>
<td width="178"><label>
<input name="userName" type="text" size="15" />
</label></td>
</tr>
<tr>
<td height="28"><span class="STYLE2">密码</span>:</td>
<td><label>
<input name="userPassword" type="password" size="15" />
</label></td>
</tr>
<tr>
<td height="28"><span class="STYLE2">请输入验证码</span>:</td>
<td><label>
<input type="text" name="usercode" size="8">
</label><img src="Code.jsp?codename=LoginCode" width="60" height="28"><label>
</label></td>
</tr>
<tr>
<td><label>
<input type="submit" name="Submit" value="确定" />
</label></td>
<td><label>
<input type="submit" name="Submit2" value="取消" />
<a href="loginCode.jsp">用户注册</a>
</label></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -