📄 login.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
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>用户登录</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>
<SCRIPT Language = javascript>
<!--
function check_null(){
if(document.frm_login.uid.value==""){
alert("请输入证件号!");
document.frm_login.uid.focus();
return false;
}
else if(document.frm_login.upsw.value==""){
alert("请输入密码!");
document.frm_login.upsw.focus();
return false;
}
}
-->
</SCRIPT>
<body>
<DIV id=loginleft>
<FORM name=frm_login action=Login method=post>
<DL id=searchmain style="WIDTH: 100%">
<DT>
<DT>
<B>登录我的图书馆</B>
<DT>
用户名:
<INPUT class=input name=uid id=uid>
<DT>
密 码:
<INPUT class=input type=password name=upsw id=upsw>
<DT>
<INPUT type=submit value=登录 name=submit onClick="return check_null();">
</FORM>
<DT>
<FONT color=red></FONT>
<DT>
</DT>
</DL>
</DIV>
<DIV id=loginright>
<DIV class=mainHelp style="MARGIN-TOP: 8px">
<STRONG><IMG alt=Hint src="images/pin_dark.gif"> 提示 </STRONG>
<BR>
<UL style="list-style:circle">
<LI>
读者可用以下用户名登录:
<BR>
1.证件号:您的工号或者学号
<LI>
读者信息查询的初始密码可能情况:
<BR>
1.读者证件号
<LI>
密码在进入系统后可由读者重新设置
</LI>
</UL>
</DIV>
</DIV>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -