📄 student.jsp
字号:
<%@ page language="java"
contentType="text/html; charset=gbk"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%
String ccu = (String) request.getSession().getAttribute("ccu");//防止非法入侵
if (ccu==null ||(!ccu.equals("abc")))
response.sendRedirect("/xuanke/login.jsp");
%>
<html>
<head>
<title>选课系统</title>
<link rel="STYLESHEET" type="text/css" href="css/shared.css">
</head>
<body bgcolor="#ffffff" background="./image/snow.gif">
<br>
<hr height=1 />
<h2 align="center">
学生管理
</h2>
<html:form action="/student.do" method="post" focus="xuexiao">
<table>
<tr>
<td class="tdframe">
<table class="table1">
<thead class="tdsectionbar">
<td align="center" class="tdsectionbar" width="100">
学号
</td>
<td align="center" class="tdsectionbar" width="100">
姓名
</td>
<td align="center" class="tdsectionbar" width="100">
性别
</td>
<td align="center" class="tdsectionbar" width="100">
年龄
</td>
<td align="center" class="tdsectionbar" width="100">
班级
</td>
</thead>
<tbody>
<tr class="tdsectionbar">
<td class="tdbg0">
<html:text property="xuehao" />
</td>
<td class="tdbg0">
<html:text property="xingming" />
</td>
<td class="tdbg0" align="center">
<html:select property="sex">
<html:option value="man">男</html:option>
<html:option value="woman">女</html:option>
</html:select>
</td>
<td class="tdbg0" align="center">
<html:text property="age" />
</td>
<td class="tdbg0" align="center">
<html:text property="banji" />
</td>
<tr>
</tbody>
</table>
</td>
</tr>
</table>
<br>
<br>
<br>
<input type="submit" value="添加学生" class="button"></input>
<input type="reset" value="重 置" class="button"></input>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -