</font><font face="隶书" size="6">密码</font><font face="隶书" size="6">: <input type="password" name="upass"><br><br> <input type="submit" value="登录
">
<input type="button" value="取消
"><br>
</font>
<font face="隶书"
size="6"><br> 亲,还没注册,请点击<a href="register.jsp">注册</a>! </font></form></div>
</body> </html>
注册界面的实现
注册界面的名称为register.jsp,其主要代码如下:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<% %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
<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"
<meta http-equiv="description" content="This is my page"> <!-- <head>
<base href="<%=basePath%>">
String path = request.getContextPath(); String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort() + path + "/";
content="keyword1,keyword2,keyword3">