2021级《JAVA语言程序设计》上机考试试题8
专业教师功能页:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>教师功能页</title>
</head>
<body>
<%
Object message = request.getAttribute("message");
if(message!=null && !"".equals(message)){
%>
<script type="text/javascript">
alert("<%=request.getAttribute("message")%>");
</script>
<%} %>
<center>
<h1>
专业教师功能页
</h1>
<form name="form" method="post" action="Screen.jsp">
<input type="submit" value="返回主页">
</form>
</center>
<div align="center">
<form name="form" method="post" action="AddCard.jsp">
<input type="submit" value=" 添加审批卡信息 ">
</form>
<form name="form" action="Servlet?method=ViewinformationCard" method="post" onsubmit="return check()">
<input type="submit" value="浏览审批卡信息" />
</form>
</body>
</html>
添加审批卡
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加审批卡信息</title>
</head>
<body>
<%
Object message = request.getAttribute("message");
if(message!=null && !"".equals(message)){
%>
<script type="text/javascript">
alert("<%=request.getAttribute("message")%>");
</script>
<%} %>
<center>
<h1>
添加审批卡信息
</h1>
</center>
<div align="center">
<form name="form" action="Servlet?method=AddCard" method="post" onsubmit="return check()">
编号:
<input type="text" name="CardId" />
<p>
申请日期
<input type="text" name="CardData" />
<p>
课程名称
<input type="text" name="CourseName" />
<p>
任课教师
<input type="text" name="CourseTeacher" />
<p>
课程编号
<input type="text" name="CourseID" />
<p>
课程性质
<input type="text" name="CourseNature" />
<p>
课程学分
<input type="text" name="Credit" />
<p>
授课班级
<input type="text" name="CourseClass" />
<p>
授课专业
<input type="text" name="CourseMajor" />
<p>
考试方式
<input type="text" name="TestWay" />
<p>
考试日期
<input type="text" name="TestData" />
<p>
考试人数
<input type="text" name="TestCount" />
<p>
出题方式
<input type="text" name="TestMethod" />
<p>
成绩组成
<input type="text" name="TestGrade" />
<p>
考核与评价方式
<input type="text" name="TestEvaluation" />
<p>
考核内容合理性分析
<input type="text" name="TestAnalysis" />
<p>
<input type="submit" value="添加" />
</form>
</div>
</body>
</html>
浏览审批卡
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>浏览审批卡信息</title>
</head>
<body>
<%
Object message = request.getAttribute("message");
if(message!=null && !"".equals(message)){
%>
<script type="text/javascript">
alert("<%=request.getAttribute("message")%>");
</script>
<%} %>
<center>
<h1>
浏览审批卡信息
</h1>
<form name="form" method="post" action="Teacher.jsp">
<input type="submit" value="返回教师功能页">
</form>
</center>
<div align="center">
<table align="center" border="1" width="500">
<tr>
<td>编号</td>
<td>专业审查意见</td>
<td>专业审查结论</td>
<td>合理性审查意见</td>
<td>合理性审查结果</td>
<td>状态</td>
<td>操作1</td>
<td>操作2</td>
</tr>
<c:forEach items="${bean}" var="item" varStatus="status">
<tr>
<td>${item.getCardId()}</td>
<td>${item.getProfessional()}</td>
<td>${item.getProfessionalConclusion()}</td>
<td>${item.getReasonable()}</td>
<td>${item.getReasonableConclusion()}</td>
<td>${item.getAuditStatus()}</td>
<td>
<form name="form" action="Servlet?method=UpdateCard1&CardId=${item.getCardId()}" method="post" onsubmit="return check()">
<input type="submit" value="修改审批卡" />
</form>
</td>
<td>
<form name="form" action="Servlet?method=DeleteCard&CardId=${item.getCardId()}" method="post" onsubmit="return check()">
<input type="submit" value="删除审批卡" />
</form>
</td>
</tr>
</c:forEach>
</table>
</div>
</body>
</html>
最新文章
- url中的特殊符号含义
- C# 6.0 新特性
- mac安装软件管家homebrew
- Solve Error Debug Assertion Failed Expression vector iterators incompatible Using PCL in Release Mode of VS2010
- 将客户端将IE9强制为IE7
- Codeforces Round #188 (Div. 1) B. Ants 暴力
- Css compatibility
- ClientScriptManager与ScriptManager向客户端注册脚本的区别
- 极简易版专家聊天程序--JAVA练手
- android内存优化之图片压缩和缓存
- Discuz教程:X3.1-x3.2后台admin.php防止直接恶意访问
- Appium入门示例(Java)
- [Python学习] 简单网络爬虫抓取博客文章及思想介绍
- ref、out参数
- linux目录的特点
- Docker容器学习梳理 - 应用程序容器环境部署
- 程序员,不要让自己做兔子(updated) 网上最近流传的一个笑话,关于兔子,狼还有一只老虎的,故事 我就是想打你了,还需要什么理由吗?谁让你是兔子 项目经理是这样当的
- Hadoop生态圈-Hbase的Region详解
- 用Python读取大文件
- 认识Groovy
热门文章
- HDLBits答案——Circuits
- 关于Go你不得不知道的小技巧
- java集合类 collection接口,List集合
- 错误“AxImp.exe”已退出,代码为 -1163019603
- python中调用C代码
- Zabbix技术分享——使用Zabbix6.0监控业务日志
- Django框架路由层-无名有名分组-无名有名分组反向解析
- Spring之Bean注入Spring容器中的方式
- .Net 7 的AOT的程序比托管代码更容易破解?
- [常用工具] 基于psutil和GPUtil获取系统状态信息