?? customerlogin.jsp
字號:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%String errors=(String)request.getAttribute("errors"); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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>
<%if(errors!=null){%><font color="#FF0000"><%=errors%></font><%} %>
<form name="form1" method="post" action="CustomerLoginServlet">
<table width="740" height="149" border="1">
<tr>
<td colspan="2"><div align="center">用戶登錄系統</div></td>
</tr>
<tr>
<td width="184"> 姓名</td>
<td width="533"><input name="CustomerLoginName" type="text"></td>
</tr>
<tr>
<td>密碼</td>
<td><input name="CustomerLoginPassword" type="password"></td>
</tr>
</table>
<div align="center">
<input name="submit" type="submit" value="提交">
<input name="reset" type="reset" value=" 重置">
</div><table width="200" border="1">
</table>
</form>
<a href="foreplat/customerRegist.jsp">新用戶注冊</a>
<br>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -