show_examtype.jsp
来自「中学教学管理系统」· JSP 代码 · 共 81 行
JSP
81 行
<%@ page contentType="text/html; charset=gb2312" language="java"
errorPage=""%>
<%@ page import="com.dcs.hibernate.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<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>
<body>
<div align="center">
<table width="100%" border="1">
<tr>
<td height="41" bgcolor="#00CCFF">
<div align="center">
<h1 class="style1">
查看考试
</h1>
</div>
</td>
</tr>
<tr>
<td height="45">
<form method="post" action="/TeacherManager/showexam.do">
<center>
<p>
考试编号:
<input type="text" name="examNo" size=30 value="">
</p>
<p>
<input type="submit" name="submit" size=30 value="提交">
</p>
</center>
</form>
</td>
</tr>
</table>
</div>
<%
try {
Exams exam = (Exams) session.getAttribute("exam");
String examNo = exam.getExamNo();
String examItem = exam.getExamItem();
String examType = exam.getExamType();
String examDate = exam.getExamDate().toString();
if (exam == null) {
} else {
%>
<center>
考试编号:
<%=examNo%>
<br>
考试科目:
<%=examItem%>
<br>
考试类型:
<%=examType%>
<br>
教师时间:
<%=examDate%>
</center>
<br>
<%
}
} catch (Exception e) {
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?