专业教师功能页:
<%@ 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>
标签:JAVA,上机,getAttribute,item,2021,审批,message,null,考试 From: https://www.cnblogs.com/JIANGzihao0222/p/17004415.html