📄 index.jsp
字号:
<%@page import="java.lang.*"%>
<%@ page contentType="text/html;charset=gb2312" errorPage="errpage.jsp" language="java"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>浙江省台州医院职工网上订餐系统登录窗口</title>
</head>
<body bgcolor="#009999">
<form method="POST" name="thisform" action="check.jsp">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="396" height="260" border="0" cellpadding="0" cellspacing="0" background="images/login.jpg" align="center">
<tr height="49">
<td height="29" >
</td>
</tr>
<tr height="20">
<td height="34">
</td>
</tr>
<tr height="10" valign="left">
<td height="29">
</td>
</tr>
<tr height="10" valign="left">
<td height="29">
  <font face="宋体" size="2">
请输入您的用户名和密码:</font>
</td>
</tr>
<tr height="10" valign="left">
<td height="28">
<font face="宋体" size="2"> 用户名(U): </font><font face="宋体" size="2"><INPUT TYPE="text" NAME="user" valign="left" size=17 style="text-transform: uppercase; border-style: solid; border-width: 1" tabindex="1">
</font>
</td>
</tr>
<tr height="10" valign="left">
<td height="20" >
<font size="2" face="宋体"> 密码(P):
</font><font face="宋体" size="2">
<INPUT TYPE="password" NAME="pass" valign="left" size=17 style="border-style: solid; border-width: 1" tabindex="2" maxlength="10">
</font>
</td>
</tr>
<tr>
<td height="55" align=center>
<input type="submit" name="Submit" value="确定" style="font-family: 宋体; width: 70px; font-size: 10pt; border-style: ridge; border-color: #000080" tabindex="3" >
<input type="button" name="reset" value="取消" style="font-family: 宋体; width: 70px; font-size: 10pt; border-style: solid; border-color: #000080" tabindex="4" onclick="javascript:doReset();">
<input type="button" name="xgmm" value="修改密码" style="font-family: 宋体; width: 70px; font-size: 10pt; border-style: solid; border-color: #000080" tabindex="4" onclick="javascript:doPass();">
<input type="button" name="help" value="帮助" style="font-family: 宋体; width: 70px; font-size: 10pt; border-style: solid; border-color: #000080" tabindex="4" onclick="javascript:doHelp();">
</td>
</tr>
</table>
</td>
</tr>
<tr align=center>
<td>
<FONT face="隶书" SIZE="5" COLOR="#FFFFFF"><%
String msg;
msg= request.getParameter("errmsg");
if(msg!=null)
{
if(msg.length()!=0)
{
out.print(msg);
}
}
%></FONT>
</td>
</tr>
</table>
</form>
<!-- java脚本文件用于写设置光标 -->
<SCRIPT LANGUAGE="JavaScript">
document.thisform.user.focus();
function doReset()
{
//alert('此用户不存在。\n');
document.thisform.user.value="";
document.thisform.pass.value="";
document.thisform.user.focus();
}
function doPass()
{
var mm="modipass.jsp";
window.open(mm,"_self");
}
function doHelp()
{
var mm="help.jsp";
window.open(mm,"_self");
}
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -