📄 student-login.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" errorPage="errorpage.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>学生登陆</title>
<style type="text/css">
<!--
#Layer1 {
position:absolute;
width:937px;
height:356px;
z-index:1;
left: -8px;
top: 165px;
}
-->
</style>
</head>
<%
String studentName = "";
String studentNum = "";
if(!session.isNew()){
request.setCharacterEncoding("gb2312");
studentName = (String)session.getAttribute("stuName");
studentNum = (String)session.getAttribute("stuNum");
}
%>
<body>
<img src="images/1433164561.jpg" width="1024" height="800">
<div id="Layer1">
<div align="center">
<form id="form1" name="form1" method="post" action="stu-login-conf.jsp">
<label>姓名:
<input type="text" name="stuName"/>
</label>
<p>
<label>学号:
<input type="text" name="stuNum"/>
</label>
</p>
<p>
<label>密码:
<input type="password" name="stuPassword" />
</label>
</p>
<p>
<input type="submit" name="Submit" value="提交" />
<input type="reset" name="Submit" value="重置" />
</p>
</form>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -