首页 > 编程语言 >2021级《JAVA语言程序设计》上机考试试题9

2021级《JAVA语言程序设计》上机考试试题9

时间:2022-12-25 19:35:30浏览次数:37  
标签:专业 JAVA 上机 getAttribute item 2021 审查 message null

专业负责人功能页

 

 

<%@ 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" action="Servlet?method=EvaluateCard1" method="post" onsubmit="return check()">
<input type="submit" value="审批卡专业审查信息" />
</form>
</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="Teacher1.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>学分</td>
<td>授课班级</td>
<td>授课专业</td>
<td>考试方式</td>
<td>考试日期</td>
<td>考试人数</td>
<td>出题方式</td>
<td>成绩组成</td>
<td>考核与评价方式</td>
<td>考核内容合理性分析</td>
<td>出题方式</td>
<td>专业审查意见</td>
<td>专业审查结论</td>
<td>状态</td>
</tr>
<c:forEach items="${bean}" var="item" varStatus="status">
<tr>
<td>${item.getCardId()}</td>
<td>${item.getCardData()}</td>
<td>${item.getCourseName()}</td>
<td>${item.getCourseTeacher()}</td>
<td>${item.getCourseID()}</td>
<td>${item.getCourseNature()}</td>
<td>${item.getCredit()}</td>
<td>${item.getCourseClass()}</td>
<td>${item.getCourseMajor()}</td>
<td>${item.getTestWay()}</td>
<td>${item.getTestData()}</td>
<td>${item.getTestCount()}</td>
<td>${item.getTestMethod()}</td>
<td>${item.getTestGrade()}</td>
<td>${item.getTestEvaluation()}</td>
<td>${item.getTestAnalysis()}</td>
<td>
<form name="form" action="Servlet?method=EvaluateCard11&CardId=${item.getCardId()}" method="post" onsubmit="return check()">
<input type="submit" value="专业审查意见" />
</form>
</td>
<td>
<form name="form" action="Servlet?method=EvaluateCard12&CardId=${item.getCardId()}" method="post" onsubmit="return check()">
<input type="submit" value="专业审查结论" />
</form>
</td>
<td>
<form name="form" action="Servlet?method=Pass&CardId=${item.getCardId()}" method="post" onsubmit="return check()">
<input type="submit" value="通过" />
</form>
</td>
</tr>
</c:forEach>
</table>
</div>
</body>
</html>

专业审查意见

 

 

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</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=EvaluateCard111" method="post" onsubmit="return check()">
专业审查意见
<input type="text" name="address" />
<p>
<input type="submit" value="添加" />
</form>
</div>

</body>
</html>

专业审查结论

 

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</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=EvaluateCard121" method="post" onsubmit="return check()">
专业审查结论
<input type="text" name="address" />
<p>
<input type="submit" value="添加" />
</form>
</div>

</body>

 

标签:专业,JAVA,上机,getAttribute,item,2021,审查,message,null
From: https://www.cnblogs.com/JIANGzihao0222/p/17004422.html

相关文章

  • 2021级《JAVA语言程序设计》上机考试试题10
    教学副院长功能页 <%@pagelanguage="java"contentType="text/html;charset=UTF-8"pageEncoding="UTF-8"%><!DOCTYPEhtml><html><head><metacharset="UTF-8">......
  • 2021级《JAVA语言程序设计》上机考试试题
    勉强写完了CardpackageBean;publicclassCard{ privateStringCardId; privateStringCardData; privateStringCourseName; privateStringCourseTeacher; priv......
  • [ 成为架构师系列 ] 1. 第一个 Java Web 程序
    [成为架构师系列]1.第一个JavaWeb程序1.新建mavenwebapp工程打开idea,NewProject,选择Maven,从maven-archetype创建,找到maven-archetype-webapp:......
  • 2021级《JAVA语言程序设计》上机考试试题8
    专业教师功能页: <%@pagelanguage="java"contentType="text/html;charset=UTF-8"pageEncoding="UTF-8"%><!DOCTYPEhtml><html><head><metacharset="UTF-8"><......
  • JAVA异常
    JAVA异常异常:指程序运行中出现的不期而至的各种状况(例:文件找不到、网络连接失败...)异常发生在程序运行期间,它影响了正常的程序执行流程简单分类:检查性异......
  • 14个 JavaScript 代码优化技巧
    这篇文章列举了一些技巧,可帮助你写出更好的JavaScript代码,从而提高性能。JavaScript已经成为有史以来最受欢迎的编程语言之一。从W3Tech的数据来看,全世界将近96%的网站......
  • 精心收集的95个超实用的JavaScript代码片段(ES6 +编写)
    Array数组Arrayconcatenation(数组拼接)使用Array.concat(),通过在args中附加任何副本和/或值来拆分一个数组。JavaScript代码:constArrayConcat=(arr,...args)=>[]。c......
  • Django之SQL注入漏洞复现(CVE-2021-35042)
    前言SQL注入的原理是对web请求,表单或域名等提交查询的字符串没有进行安全检测过滤,攻击者可以拼接执行恶意SQL命令,导致用户数据泄露漏洞原理Django组件存在SQL注入漏......
  • Java编程思想11
    第十六章:数组Java中已经有了容器,为什么还需要数组呢,是因为数组可以持有基本类型吗?但是在泛型出来之后,通过自动包装机制,其实通过容器也能够持有基本类型。在Jav中,数组是一种......
  • Java编程思想12
    第十七章:容器深入研究完整的容器分类法:这张图是把工作中常用到的实现类和相关接口使用UML类图辨识出来  JavaSE5新添加了:Queue接口及其实现PriorityQueue和各种风......