⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.jsp

📁 网上购物系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"     
    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="css/css.css">
</head>
  
  <body>
   <jsp:include flush="true" page="header.jsp"></jsp:include>
   <%if(errors!=null){%><font color="#FF0000"><%=errors%></font><%} %>
  <form name="form1" method="post" action="ManageLoginServlet">
  <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="userName" type="text"></td>
    </tr>
    <tr>
        <td>密码</td>
        <td><input name="passWord" type="password"></td>
    </tr>
    </table>
  <div align="center">
    <input name="submit" type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input name="reset" type="reset" value=" 重置">
    
  </div><table width="200" border="1">
  
</table>

  </form>
  <a href="admin/regist.jsp">新管理员注册</a><br>
  <jsp:include flush="true" page="footer.jsp"></jsp:include>
  </body>
</html>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -