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

📄 login.jsp.svn-base

📁 数据库系统教材中附录的课程设计accomodation宿舍管理系统源码
💻 SVN-BASE
字号:
<%@ 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>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.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="<%=basePath%>/styles/login.css">

  </head>
  
<body>
<%
	String err=request.getParameter("err");
%>
<div id="container">
	<div id="mainBody">
		<form id="formBody" action="<%=request.getContextPath() %>/login.do" method="post">
		<h2>公寓管理系统</h2>
			<table>
				<tr>
					<td><label for="staffId">职工号</label></td>
					<td><input type="text" name="staffId" value=""/></td>
				</tr>
				<tr>
					<td><label for="password">密码</label></td>
					<td><input type="password" name="password" value=""/></td>
				</tr>
				<tr><td colspan="2" style="color:red">密码默认为生日号如:19881206</td></tr>
				<tr>
					<td colspan="2" style="color:red"><%if(err!=null) out.println("您输入的帐号或者密码错误"); %></td>
				</tr>
				<tr id="button">
					<td colspan="2"><input id="login" type="submit" name="login" value="登录"/></td>
				</tr>
			</table>
		</form>
	</div>
</div>
</body>
</html>

⌨️ 快捷键说明

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