Compare commits
No commits in common. 'main' and 'developer' have entirely different histories.
@ -1,29 +0,0 @@
|
|||||||
### IntelliJ IDEA ###
|
|
||||||
out/
|
|
||||||
!**/src/main/**/out/
|
|
||||||
!**/src/test/**/out/
|
|
||||||
|
|
||||||
### Eclipse ###
|
|
||||||
.apt_generated
|
|
||||||
.classpath
|
|
||||||
.factorypath
|
|
||||||
.project
|
|
||||||
.settings
|
|
||||||
.springBeans
|
|
||||||
.sts4-cache
|
|
||||||
bin/
|
|
||||||
!**/src/main/**/bin/
|
|
||||||
!**/src/test/**/bin/
|
|
||||||
|
|
||||||
### NetBeans ###
|
|
||||||
/nbproject/private/
|
|
||||||
/nbbuild/
|
|
||||||
/dist/
|
|
||||||
/nbdist/
|
|
||||||
/.nb-gradle/
|
|
||||||
|
|
||||||
### VS Code ###
|
|
||||||
.vscode/
|
|
||||||
|
|
||||||
### Mac OS ###
|
|
||||||
.DS_Store
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
# Default ignored files
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
||||||
# Editor-based HTTP Client requests
|
|
||||||
/httpRequests/
|
|
||||||
# Datasource local storage ignored files
|
|
||||||
/dataSources/
|
|
||||||
/dataSources.local.xml
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
<component name="ArtifactManager">
|
|
||||||
<artifact type="exploded-war" name="javaweb_project:war exploded">
|
|
||||||
<output-path>$PROJECT_DIR$/out/artifacts/javaweb_project_war_exploded</output-path>
|
|
||||||
<root id="root">
|
|
||||||
<element id="directory" name="WEB-INF">
|
|
||||||
<element id="directory" name="classes">
|
|
||||||
<element id="module-output" name="javaweb_project" />
|
|
||||||
</element>
|
|
||||||
<element id="directory" name="lib">
|
|
||||||
<element id="library" level="project" name="lib" />
|
|
||||||
<element id="library" level="module" name="JUnit4" module-name="javaweb_project" />
|
|
||||||
</element>
|
|
||||||
</element>
|
|
||||||
<element id="javaee-facet-resources" facet="javaweb_project/web/Web" />
|
|
||||||
</root>
|
|
||||||
</artifact>
|
|
||||||
</component>
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
|
||||||
<data-source source="LOCAL" name="jiaowusys@localhost" uuid="6f10c666-993f-4994-8ef3-c0a0984ad9c2">
|
|
||||||
<driver-ref>mysql.8</driver-ref>
|
|
||||||
<synchronize>true</synchronize>
|
|
||||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
|
||||||
<jdbc-url>jdbc:mysql://localhost:3306/jiaowusys</jdbc-url>
|
|
||||||
<jdbc-additional-properties>
|
|
||||||
<property name="com.intellij.clouds.kubernetes.db.host.port" />
|
|
||||||
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
|
|
||||||
<property name="com.intellij.clouds.kubernetes.db.container.port" />
|
|
||||||
</jdbc-additional-properties>
|
|
||||||
<working-dir>$ProjectFileDir$</working-dir>
|
|
||||||
</data-source>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="lib">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="file://$PROJECT_DIR$/web/WEB-INF/lib" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
<jarDirectory url="file://$PROJECT_DIR$/web/WEB-INF/lib" recursive="false" />
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectModuleManager">
|
|
||||||
<modules>
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/javaweb_project.iml" filepath="$PROJECT_DIR$/javaweb_project.iml" />
|
|
||||||
</modules>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -1,15 +1,7 @@
|
|||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
|
||||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
|
||||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
|
||||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
org.eclipse.jdt.core.compiler.source=1.7
|
||||||
org.eclipse.jdt.core.compiler.release=disabled
|
|
||||||
org.eclipse.jdt.core.compiler.source=1.8
|
|
||||||
|
|||||||
Binary file not shown.
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
|
||||||
|
<display-name>javaweb_project</display-name>
|
||||||
|
<welcome-file-list>
|
||||||
|
<welcome-file>index.html</welcome-file>
|
||||||
|
<welcome-file>index.htm</welcome-file>
|
||||||
|
<welcome-file>index.jsp</welcome-file>
|
||||||
|
<welcome-file>default.html</welcome-file>
|
||||||
|
<welcome-file>default.htm</welcome-file>
|
||||||
|
<welcome-file>default.jsp</welcome-file>
|
||||||
|
</welcome-file-list>
|
||||||
|
</web-app>
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic_dean.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h3>教务管理</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/acdemic_dean/acdemic/grademanagement/gradequery.jsp">成绩总库查询</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/acdemic_dean/acdemic/grademanagement/gradeanalysis.jsp">成绩统计分析</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,137 @@
|
|||||||
|
<%@page import="com.hua.entity.GradeAnalysisResult"%>
|
||||||
|
<%@page import="com.hua.entity.StudentBasicInformation"%>
|
||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic/grademanagement.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>学生成绩统计分析</h1>
|
||||||
|
<form action="<%=request.getContextPath()%>/gradeAnalysis.grade" method="post">
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学院:</td>
|
||||||
|
<td>
|
||||||
|
<select name="academy">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化学院">自动化学院</option>
|
||||||
|
<option value="物理学院">物理学院</option>
|
||||||
|
<option value="电子信息学院">电子信息学院</option>
|
||||||
|
<option value="计算机学院">计算机学院</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>专业:</td>
|
||||||
|
<td>
|
||||||
|
<select name="profession">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化">自动化</option>
|
||||||
|
<option value="应用物理">应用物理</option>
|
||||||
|
<option value="电子信息工程">电子信息工程</option>
|
||||||
|
<option value="计算机科学与技术">计算机科学与技术</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>班级:</td>
|
||||||
|
<td>
|
||||||
|
<select name="className">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="电子15(1)">电子15(1)</option>
|
||||||
|
<option value="电子15(2)">电子15(2)</option>
|
||||||
|
<option value="计算机14(1)">计算机14(1)</option>
|
||||||
|
<option value="计算机14(2)">计算机14(2)</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学号:</td>
|
||||||
|
<td><input type="text" name="studentId"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学生姓名:</td>
|
||||||
|
<td><input type="text" name="studentName"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="查询"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<c:if test="${sessionScope.results != null }">
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>学院</th>
|
||||||
|
<th>专业</th>
|
||||||
|
<th>班级</th>
|
||||||
|
<th>课程门数</th>
|
||||||
|
<th>平均分</th>
|
||||||
|
<th>总分</th>
|
||||||
|
<th>平均学分成绩</th>
|
||||||
|
<th>平均学分绩点</th>
|
||||||
|
<th>绩点排名</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<StudentBasicInformation, GradeAnalysisResult> results =
|
||||||
|
(Map<StudentBasicInformation, GradeAnalysisResult>)session.getAttribute("results");
|
||||||
|
session.removeAttribute("results");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(Map.Entry<StudentBasicInformation,GradeAnalysisResult> entry : results.entrySet()){
|
||||||
|
StudentBasicInformation stu = entry.getKey();
|
||||||
|
GradeAnalysisResult gradeAnalysisResult = entry.getValue();
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td><%= stu.getStudentId()%></td>
|
||||||
|
<td><%= stu.getStudentName()%></td>
|
||||||
|
<td><%= stu.getAcademy()%></td>
|
||||||
|
<td><%= stu.getProfession()%></td>
|
||||||
|
<td><%= stu.getClassName()%></td>
|
||||||
|
<td><%= gradeAnalysisResult.getCourseCount()%></td>
|
||||||
|
<td><%= gradeAnalysisResult.getAverScore()%></td>
|
||||||
|
<td><%= gradeAnalysisResult.getScore() %></td>
|
||||||
|
<td><%= gradeAnalysisResult.getAverCreditGrade() %></td>
|
||||||
|
<td><%= gradeAnalysisResult.getGradePoint() %></td>
|
||||||
|
<td></td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,151 @@
|
|||||||
|
<%@page import="com.hua.entity.StudentBasicInformation"%>
|
||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@page import="com.hua.entity.StudentGrade"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic/grademanagement.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>学生成绩</h1>
|
||||||
|
<form action="<%=request.getContextPath()%>/deanQuery.grade" method="post">
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学院:</td>
|
||||||
|
<td>
|
||||||
|
<select name="academy">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化学院">自动化学院</option>
|
||||||
|
<option value="物理学院">物理学院</option>
|
||||||
|
<option value="电子信息学院">电子信息学院</option>
|
||||||
|
<option value="计算机学院">计算机学院</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>专业:</td>
|
||||||
|
<td>
|
||||||
|
<select name="profession">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化">自动化</option>
|
||||||
|
<option value="应用物理">应用物理</option>
|
||||||
|
<option value="电子信息工程">电子信息工程</option>
|
||||||
|
<option value="计算机科学与技术">计算机科学与技术</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>班级:</td>
|
||||||
|
<td>
|
||||||
|
<select name="className">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="电子15(1)">电子15(1)</option>
|
||||||
|
<option value="电子15(2)">电子15(2)</option>
|
||||||
|
<option value="计算机14(1)">计算机14(1)</option>
|
||||||
|
<option value="计算机14(2)">计算机14(2)</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学号:</td>
|
||||||
|
<td><input type="text" name="studentId"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学生姓名:</td>
|
||||||
|
<td><input type="text" name="studentName"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="查询"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<c:if test="${sessionScope.map != null }">
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>学院</th>
|
||||||
|
<th>专业</th>
|
||||||
|
<th>班级</th>
|
||||||
|
<th>课程编号</th>
|
||||||
|
<th>课程名称</th>
|
||||||
|
<th>成绩</th>
|
||||||
|
<th>绩点</th>
|
||||||
|
<th>学分</th>
|
||||||
|
<th>课程大类</th>
|
||||||
|
<th>修读方式</th>
|
||||||
|
<th>考试性质</th>
|
||||||
|
<th>成绩方式</th>
|
||||||
|
<th>有效</th>
|
||||||
|
<th>备注</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<StudentBasicInformation,List<StudentGrade>> map =
|
||||||
|
(Map<StudentBasicInformation,List<StudentGrade>>)session.getAttribute("map");
|
||||||
|
session.removeAttribute("map");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(Map.Entry<StudentBasicInformation,List<StudentGrade>> entry : map.entrySet()){
|
||||||
|
StudentBasicInformation stu = entry.getKey();
|
||||||
|
List<StudentGrade> studentGrades = entry.getValue();
|
||||||
|
for(StudentGrade student : studentGrades){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= student.getYearTerm()%></td>
|
||||||
|
<td><%= student.getStudentId()%></td>
|
||||||
|
<td><%= student.getStudentName()%></td>
|
||||||
|
<td><%= stu.getAcademy()%></td>
|
||||||
|
<td><%= stu.getProfession()%></td>
|
||||||
|
<td><%= stu.getClassName()%></td>
|
||||||
|
<td><%= student.getCourseId()%></td>
|
||||||
|
<td><%= student.getCourseName()%></td>
|
||||||
|
<td><%= student.getScore() %></td>
|
||||||
|
<td><%= student.getGradePoint() %></td>
|
||||||
|
<td><%= student.getCredit() %></td>
|
||||||
|
<td><%= student.getCourseClass() %></td>
|
||||||
|
<td><%= student.getStudyWay() %></td>
|
||||||
|
<td><%= student.getExamWay() %></td>
|
||||||
|
<td><%= student.getGradeWay() %></td>
|
||||||
|
<td><%= student.getEffectivity() %></td>
|
||||||
|
<td><%= student.getRemarks() %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,144 @@
|
|||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@page import="com.hua.entity.StudentBasicInformation"%>
|
||||||
|
<%@page import="com.hua.entity.OptionalCourse"%>
|
||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic_dean.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/optStudent.List" method="post">
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学院:</td>
|
||||||
|
<td>
|
||||||
|
<select name="academy">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化学院">自动化学院</option>
|
||||||
|
<option value="物理学院">物理学院</option>
|
||||||
|
<option value="电子信息学院">电子信息学院</option>
|
||||||
|
<option value="计算机学院">计算机学院</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>专业:</td>
|
||||||
|
<td>
|
||||||
|
<select name="profession">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化">自动化</option>
|
||||||
|
<option value="应用物理">应用物理</option>
|
||||||
|
<option value="电子信息工程">电子信息工程</option>
|
||||||
|
<option value="计算机科学与技术">计算机科学与技术</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>班级:</td>
|
||||||
|
<td>
|
||||||
|
<select name="className">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="电子15(1)">电子15(1)</option>
|
||||||
|
<option value="电子15(2)">电子15(2)</option>
|
||||||
|
<option value="计算机14(1)">计算机14(1)</option>
|
||||||
|
<option value="计算机14(2)">计算机14(2)</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学号:</td>
|
||||||
|
<td><input type="text" name="studentId"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学生姓名:</td>
|
||||||
|
<td><input type="text" name="studentName"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="查询"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<c:if test="${sessionScope.map != null }">
|
||||||
|
<div>
|
||||||
|
<table border="1" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>学院</th>
|
||||||
|
<th>专业</th>
|
||||||
|
<th>班级</th>
|
||||||
|
<th>课程编号</th>
|
||||||
|
<th>课程名称</th>
|
||||||
|
<th>学分</th>
|
||||||
|
<th>课程类型</th>
|
||||||
|
<th>任课老师</th>
|
||||||
|
<th>上课方式</th>
|
||||||
|
<th>上课时间</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<StudentBasicInformation,List<OptionalCourse>> map =
|
||||||
|
(Map<StudentBasicInformation,List<OptionalCourse>>)session.getAttribute("map");
|
||||||
|
session.removeAttribute("map");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(Map.Entry<StudentBasicInformation,List<OptionalCourse>> entry : map.entrySet()){
|
||||||
|
StudentBasicInformation stu = entry.getKey();
|
||||||
|
List<OptionalCourse> optionalCourses = entry.getValue();
|
||||||
|
for(OptionalCourse optionalCourse : optionalCourses){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= optionalCourse.getYearTerm() %></td>
|
||||||
|
<td><%= stu.getStudentId() %></td>
|
||||||
|
<td><%= stu.getStudentName() %></td>
|
||||||
|
<td><%= stu.getAcademy() %></td>
|
||||||
|
<td><%= stu.getProfession() %></td>
|
||||||
|
<td><%= stu.getClassName() %></td>
|
||||||
|
<td><%= optionalCourse.getCourseId() %></td>
|
||||||
|
<td><%= optionalCourse.getCourseName() %></td>
|
||||||
|
<td><%= optionalCourse.getCredit() %></td>
|
||||||
|
<td><%= optionalCourse.getCourseType() %></td>
|
||||||
|
<td><%= optionalCourse.getTeacher() %></td>
|
||||||
|
<td><%= optionalCourse.getClassWay() %></td>
|
||||||
|
<td><%= optionalCourse.getClassTime() %></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,38 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
</div>
|
||||||
|
<!-- 教务员主页面 -->
|
||||||
|
<div>
|
||||||
|
<h3>学籍管理</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/acdemic_dean/schoolroll/studentinformation.jsp">学生基本信息</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>考级管理</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/acdemic_dean/levelexaminationmanage/applystudents.jsp">考级报名学生</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/dean.query">考级学生成绩</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>教务管理</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/acdemic_dean/acdemic/grademanagement.jsp">成绩管理</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/acdemic_dean/acdemic/optionalcourse.jsp">选修报名学生</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>个人事务</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/jwTeacherInformationServlet">个人信息</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,140 @@
|
|||||||
|
<%@page import="com.hua.entity.LevelExam"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@page import="com.hua.entity.StudentBasicInformation"%>
|
||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic_dean.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/levelExam.List" method="post">
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学院:</td>
|
||||||
|
<td>
|
||||||
|
<select name="academy">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化学院">自动化学院</option>
|
||||||
|
<option value="物理学院">物理学院</option>
|
||||||
|
<option value="电子信息学院">电子信息学院</option>
|
||||||
|
<option value="计算机学院">计算机学院</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>专业:</td>
|
||||||
|
<td>
|
||||||
|
<select name="profession">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化">自动化</option>
|
||||||
|
<option value="应用物理">应用物理</option>
|
||||||
|
<option value="电子信息工程">电子信息工程</option>
|
||||||
|
<option value="计算机科学与技术">计算机科学与技术</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>班级:</td>
|
||||||
|
<td>
|
||||||
|
<select name="className">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="电子15(1)">电子15(1)</option>
|
||||||
|
<option value="电子15(2)">电子15(2)</option>
|
||||||
|
<option value="计算机14(1)">计算机14(1)</option>
|
||||||
|
<option value="计算机14(2)">计算机14(2)</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学号:</td>
|
||||||
|
<td><input type="text" name="studentId"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学生姓名:</td>
|
||||||
|
<td><input type="text" name="studentName"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="查询"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<c:if test="${sessionScope.map != null }">
|
||||||
|
<div>
|
||||||
|
<table border="1" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>学院</th>
|
||||||
|
<th>专业</th>
|
||||||
|
<th>班级</th>
|
||||||
|
<th>考级课程编号</th>
|
||||||
|
<th>考级课程</th>
|
||||||
|
<th>报名时间</th>
|
||||||
|
<th>考试时间</th>
|
||||||
|
<th>报名金额</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<StudentBasicInformation,List<LevelExam>> map =
|
||||||
|
(Map<StudentBasicInformation,List<LevelExam>>)session.getAttribute("map");
|
||||||
|
session.removeAttribute("map");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(Map.Entry<StudentBasicInformation,List<LevelExam>> entry : map.entrySet()){
|
||||||
|
StudentBasicInformation stu = entry.getKey();
|
||||||
|
List<LevelExam> levelExames = entry.getValue();
|
||||||
|
for(LevelExam levelExame : levelExames){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= levelExame.getYearTerm() %></td>
|
||||||
|
<td><%= stu.getStudentId() %></td>
|
||||||
|
<td><%= stu.getStudentName() %></td>
|
||||||
|
<td><%= stu.getAcademy() %></td>
|
||||||
|
<td><%= stu.getProfession() %></td>
|
||||||
|
<td><%= stu.getClassName() %></td>
|
||||||
|
<td><%= levelExame.getCourseId() %></td>
|
||||||
|
<td><%= levelExame.getCourseName() %></td>
|
||||||
|
<td><%= levelExame.getApplyTime() %></td>
|
||||||
|
<td><%= levelExame.getExamTime() %></td>
|
||||||
|
<td><%= levelExame.getExamCost() %></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,142 @@
|
|||||||
|
<%@page import="com.hua.entity.LevelExamination"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@page import="com.hua.entity.StudentBasicInformation"%>
|
||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic_dean.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>考级学生成绩</h1>
|
||||||
|
<form action="<%=request.getContextPath()%>/dean.query" method="post">
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学院:</td>
|
||||||
|
<td>
|
||||||
|
<select name="academy">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化学院">自动化学院</option>
|
||||||
|
<option value="物理学院">物理学院</option>
|
||||||
|
<option value="电子信息学院">电子信息学院</option>
|
||||||
|
<option value="计算机学院">计算机学院</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>专业:</td>
|
||||||
|
<td>
|
||||||
|
<select name="profession">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="自动化">自动化</option>
|
||||||
|
<option value="应用物理">应用物理</option>
|
||||||
|
<option value="电子信息工程">电子信息工程</option>
|
||||||
|
<option value="计算机科学与技术">计算机科学与技术</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>班级:</td>
|
||||||
|
<td>
|
||||||
|
<select name="className">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="电子15(1)">电子15(1)</option>
|
||||||
|
<option value="电子15(2)">电子15(2)</option>
|
||||||
|
<option value="计算机14(1)">计算机14(1)</option>
|
||||||
|
<option value="计算机14(2)">计算机14(2)</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学号:</td>
|
||||||
|
<td><input type="text" name="studentId"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>学生姓名:</td>
|
||||||
|
<td><input type="text" name="studentName"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="查询"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>考级课程</th>
|
||||||
|
<th>考级时间</th>
|
||||||
|
<th>总成绩</th>
|
||||||
|
<th>学生院系</th>
|
||||||
|
<th>班级名称</th>
|
||||||
|
<th>专业</th>
|
||||||
|
<th>准考证号</th>
|
||||||
|
<th>听力成绩</th>
|
||||||
|
<th>阅读成绩</th>
|
||||||
|
<th>写作成绩</th>
|
||||||
|
<th>口语成绩</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<StudentBasicInformation,List<LevelExamination>> map = (Map<StudentBasicInformation,List<LevelExamination>>)session.getAttribute("map");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(Map.Entry<StudentBasicInformation,List<LevelExamination>> entry : map.entrySet()){
|
||||||
|
StudentBasicInformation student = entry.getKey();
|
||||||
|
List<LevelExamination> levelExamination = entry.getValue();
|
||||||
|
for(LevelExamination stu : levelExamination){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= stu.getYearTerm()%></td>
|
||||||
|
<td><%= stu.getStudentId()%></td>
|
||||||
|
<td><%= student.getStudentName()%></td>
|
||||||
|
<td><%= stu.getLevelEaxmCourse()%></td>
|
||||||
|
<td><%= stu.getEaxmTime()%></td>
|
||||||
|
<td><%= stu.getGrade() %></td>
|
||||||
|
<td><%= student.getAcademy() %></td>
|
||||||
|
<td><%= student.getClassName() %></td>
|
||||||
|
<td><%= student.getProfession() %></td>
|
||||||
|
<td><%= stu.getExamId() %></td>
|
||||||
|
<td><%= stu.getListenGrade() %></td>
|
||||||
|
<td><%= stu.getReadingGrade() %></td>
|
||||||
|
<td><%= stu.getWritingGrade() %></td>
|
||||||
|
<td><%= stu.getSpokenGrade() %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,52 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>学籍信息</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/login/login.jsp">注销</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>学籍信息</h3>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<font color="RED">${requestScope.message }</font>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<form action="<%=request.getContextPath()%>/studentInformationServlet" method="post">
|
||||||
|
<div>
|
||||||
|
学号:<input type="text" name="studentId" value="${requestScope.studentBasicInformation.studentId }"/>
|
||||||
|
姓名:<input type="text" name="studentName" value="${requestScope.studentBasicInformation.studentName }"/>
|
||||||
|
性别:<input type="text" name="gender" value="${requestScope.studentBasicInformation.gender }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
年级:<input type="text" name="grade" value="${requestScope.studentBasicInformation.grade }"/>
|
||||||
|
班级:<input type="text" name="className" value="${requestScope.studentBasicInformation.className }"/>
|
||||||
|
学院:<input type="text" name="academy" value="${requestScope.studentBasicInformation.academy }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
专业:<input type="text" name="profession" value="${requestScope.studentBasicInformation.profession }"/>
|
||||||
|
所在校区:<input type="text" name="campus" value="${requestScope.studentBasicInformation.campus }"/>
|
||||||
|
联系电话:<input type="text" name="phone" value="${requestScope.studentBasicInformation.phone }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
家庭地址:<input type="text" size="40" name="homeAddress" value="${requestScope.studentBasicInformation.homeAddress }"/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
<input type="submit" name="submit" value="修改"/>
|
||||||
|
<a href="<%=request.getContextPath() %>/acdemic_dean/acdemic_dean.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,54 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 添加系统用户页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/query.do">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>学生用户管理</h1>
|
||||||
|
<form action="<%=request.getContextPath()%>/addUser.do" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${requestScope.message }</font>
|
||||||
|
<br><br>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>用户名:</td>
|
||||||
|
<td><input type="text" name="username"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>登录密码:</td>
|
||||||
|
<td><input type="text" name="password"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户姓名:</td>
|
||||||
|
<td><input type="text" name="name"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户身份:</td>
|
||||||
|
<td><input type="text" name="identity"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>找回密码凭据:</td>
|
||||||
|
<td><input type="text" name="findMMproof"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="添加用户"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,24 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 管理员的主页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/query.do">用户管理</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/administrator/systemmaintain/systemmaintain.jsp">系统维护</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,91 @@
|
|||||||
|
<%@page import="com.hua.entity.User"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 用户管理页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/administrator/administrator.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>用户管理</h1>
|
||||||
|
<form action="query.do" method="post">
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>用户名:</td>
|
||||||
|
<td><input type="text" name="username"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户姓名:</td>
|
||||||
|
<td><input type="text" name="name"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户身份:</td>
|
||||||
|
<td><input type="text" name="identity"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="查询"/></td>
|
||||||
|
<td><a href="<%=request.getContextPath()%>/administrator/adduser.jsp">添加用户</a></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<%
|
||||||
|
List<User> users = (List<User>)request.getAttribute("users");
|
||||||
|
if(users != null && users.size() > 0){
|
||||||
|
%>
|
||||||
|
<hr>
|
||||||
|
<br><br>
|
||||||
|
<table border="1" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>用户名</th>
|
||||||
|
<th>密码</th>
|
||||||
|
<th>姓名</th>
|
||||||
|
<th>身份</th>
|
||||||
|
<th>找回密码凭据</th>
|
||||||
|
<th>最近一次登录时间</th>
|
||||||
|
<th>最近一次修改密码时间</th>
|
||||||
|
<th>修改/删除</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
for(User user : users){
|
||||||
|
%>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><%= user.getUsername() %></td>
|
||||||
|
<td><%= user.getPassword() %></td>
|
||||||
|
<td><%= user.getName() %></td>
|
||||||
|
<td><%= user.getIdentity() %></td>
|
||||||
|
<td><%= user.getFindMMproof() %></td>
|
||||||
|
<td><%= user.getLogin_last_time() %></td>
|
||||||
|
<td><%= user.getPassword_last_changed() %></td>
|
||||||
|
<td>
|
||||||
|
<a href="edit.do?username=<%= user.getUsername()%>">UPDATE</a>/
|
||||||
|
<a href="delete.do?username=<%=user.getUsername()%>" class="delete">DELETE</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/query.do">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>系统维护</h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,58 @@
|
|||||||
|
<%@page import="com.hua.entity.User"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/query.do">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h1>学生用户管理</h1>
|
||||||
|
<form action="<%=request.getContextPath()%>/update.do" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${requestScope.message }</font>
|
||||||
|
<br><br>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>用户名:</td>
|
||||||
|
<td><input type="hidden" name="oldUsername" value="${requestScope.user.username} "/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户名:</td>
|
||||||
|
<td><input type="text" name="username" value="${requestScope.user.username} "/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>登录密码:</td>
|
||||||
|
<td><input type="text" name="password" value="${requestScope.user.password} "/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户姓名:</td>
|
||||||
|
<td><input type="text" name="name" value="${requestScope.user.name} "/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>用户身份:</td>
|
||||||
|
<td><input type="text" name="identity" value="${requestScope.user.identity} "/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>找回密码凭据:</td>
|
||||||
|
<td><input type="text" name="findMMproof"/ value="${requestScope.user.findMMproof} "></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><input type="submit" value="添加用户"/></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 214 KiB |
@ -0,0 +1,49 @@
|
|||||||
|
<%@page import="java.util.Date"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>找回密码</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 找回密码页面 -->
|
||||||
|
<div class="findMM">
|
||||||
|
<div>
|
||||||
|
<% String tokenValue = new Date().getTime() +""; %>
|
||||||
|
<c:set value="<%=tokenValue %>" var="token" scope="session"/>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/findPasswordServlet" method="post">
|
||||||
|
<div>
|
||||||
|
${sessionScope.message }
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="hidden" name="token" value="<%=tokenValue %>"/>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
账号:<input type="text" name="username" value="${sessionScope.username }"/>
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div class="form-group">
|
||||||
|
凭据:<input type="text" name="idCard"/>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div class="form-group">
|
||||||
|
验证码:<input type="text" name="CHECK_CODE_PARAM_NAME"/>
|
||||||
|
<img alt="" src="<%= request.getContextPath() %>/validateColorServlet">
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div>
|
||||||
|
凭据默认是身份证或护照
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="submit" name="submit" value="找回密码" />
|
||||||
|
<a href="<%=request.getContextPath() %>/login/login.jsp">返回登录</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,68 @@
|
|||||||
|
<%@page import="java.util.Date"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 登录页面 -->
|
||||||
|
<div class="page-container ms-controller">
|
||||||
|
<img src="<%=request.getContextPath() %>/img/1234.png" height="150px" width="400px">
|
||||||
|
<div class="main_box">
|
||||||
|
<div class="login_form">
|
||||||
|
<div>
|
||||||
|
<% String tokenValue = new Date().getTime() +""; %>
|
||||||
|
<c:set value="<%=tokenValue %>" var="token" scope="session"/>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/loginChangeServlet" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${sessionScope.message } </font>
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="hidden" name="token" value="<%=tokenValue %>"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>账号:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="username" value="${sessionScope.username }"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>密码:</td>
|
||||||
|
<td>
|
||||||
|
<input type="password" name="password" size="21"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>验证码:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="CHECK_CODE_PARAM_NAME"/>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<img alt="" src="<%= request.getContextPath() %>/validateColorServlet">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="submit" name="submit" value="登录" />
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="findpassword.jsp">找回密码</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,45 @@
|
|||||||
|
<%@page import="java.util.Date"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 修改密码页面 -->
|
||||||
|
<div class="modifyMM">
|
||||||
|
<div>
|
||||||
|
<% String tokenValue = new Date().getTime() +""; %>
|
||||||
|
<c:set value="<%=tokenValue %>" var="token" scope="session"/>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/modifyPasswordServlet" method="post">
|
||||||
|
<div>
|
||||||
|
${sessionScope.message }
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="hidden" name="token" value="<%=tokenValue %>"/>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
旧密码:<input type="password" name="oldpassword"/>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div class="form-group">
|
||||||
|
新密码:<input type="password" name="newpassword"/>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div class="form-group">
|
||||||
|
确认密码:<input type="password" name="confirmpassword"/>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div>
|
||||||
|
<input type="submit" name="submit" value="确定" />
|
||||||
|
<a href="${sessionScope.path }">返回</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,59 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/student.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>业务办理</h3>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/exemptionApplyServlet" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${sessionScope.message } </font>
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm" >
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>免修课程:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="courseName"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>免修理由:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="applyReason" size=“100”/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="submit" value="提交申请"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,59 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/student.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>业务办理</h3>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/postponeExamapplyServlet" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${sessionScope.message } </font>
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm" >
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>申请课程:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="courseName"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>申请原因:</td>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="applyReason" size=“100”/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="submit" value="提交申请"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,95 @@
|
|||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@page import="com.hua.entity.OptionalCourse"%>
|
||||||
|
<%@page import="java.nio.channels.SeekableByteChannel"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/student.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>选课报名</h3>
|
||||||
|
<form action="<%=request.getContextPath()%>/queryOptionalCourse.optional" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${sessionScope.message } </font>
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm" >
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="submit" value="查询"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
${sessionScope.message }
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
<c:if test="${sessionScope.map != null }">
|
||||||
|
<div>
|
||||||
|
<table border="1" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>课程编号</th>
|
||||||
|
<th>课程名称</th>
|
||||||
|
<th>学分</th>
|
||||||
|
<th>课程类型</th>
|
||||||
|
<th>任课老师</th>
|
||||||
|
<th>上课方式</th>
|
||||||
|
<th>上课时间</th>
|
||||||
|
<th>是否已报名</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<OptionalCourse, String> map = (Map<OptionalCourse, String>)session.getAttribute("map");
|
||||||
|
for(Map.Entry<OptionalCourse, String> entry : map.entrySet()){
|
||||||
|
%>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><%= entry.getKey().getYearTerm() %></td>
|
||||||
|
<td><%= entry.getKey().getCourseId() %></td>
|
||||||
|
<td><%= entry.getKey().getCourseName() %></td>
|
||||||
|
<td><%= entry.getKey().getCredit() %></td>
|
||||||
|
<td><%= entry.getKey().getCourseType() %></td>
|
||||||
|
<td><%= entry.getKey().getTeacher() %></td>
|
||||||
|
<td><%= entry.getKey().getClassWay() %></td>
|
||||||
|
<td><%= entry.getKey().getClassTime() %></td>
|
||||||
|
<td><%= entry.getValue() %></td>
|
||||||
|
<td>
|
||||||
|
<a href="<%=request.getContextPath()%>/studentApply.optional?courseId=<%= entry.getKey().getCourseId()%>">报名</a>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,93 @@
|
|||||||
|
<%@page import="com.hua.entity.LevelExam"%>
|
||||||
|
<%@page import="java.util.Map"%>
|
||||||
|
<%@page import="com.hua.entity.OptionalCourse"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@page import="java.nio.channels.SeekableByteChannel"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/student.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>考级报名</h3>
|
||||||
|
<form action="<%=request.getContextPath()%>/query.apply" method="post">
|
||||||
|
<div>
|
||||||
|
<font color="RED">${sessionScope.message } </font>
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
</div>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>学年学期:</td>
|
||||||
|
<td>
|
||||||
|
<select name="yearTerm" >
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="submit" value="查询"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
${sessionScope.message }
|
||||||
|
<%session.removeAttribute("message"); %>
|
||||||
|
<c:if test="${sessionScope.map != null }">
|
||||||
|
<div>
|
||||||
|
<table border="1" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>考级课程编号</th>
|
||||||
|
<th>考级课程</th>
|
||||||
|
<th>报名时间</th>
|
||||||
|
<th>考试时间</th>
|
||||||
|
<th>报名金额</th>
|
||||||
|
<th>是否已报名</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
Map<LevelExam, String> map = (Map<LevelExam, String>)session.getAttribute("map");
|
||||||
|
for(Map.Entry<LevelExam, String> entry : map.entrySet()){
|
||||||
|
%>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><%= entry.getKey().getYearTerm() %></td>
|
||||||
|
<td><%= entry.getKey().getCourseId() %></td>
|
||||||
|
<td><%= entry.getKey().getCourseName() %></td>
|
||||||
|
<td><%= entry.getKey().getApplyTime() %></td>
|
||||||
|
<td><%= entry.getKey().getExamTime() %></td>
|
||||||
|
<td><%= entry.getKey().getExamCost() %></td>
|
||||||
|
<td><%= entry.getValue() %></td>
|
||||||
|
<td>
|
||||||
|
<a href="<%=request.getContextPath()%>/apply.apply?courseId=<%= entry.getKey().getCourseId()%>">报名</a>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,68 @@
|
|||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@page import="com.hua.entity.StudentGrade"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/login/login.jsp">注销</a>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/informationinquiry/informationinquiry.jsp">返回上一步</a>
|
||||||
|
<div>
|
||||||
|
<h3>课程成绩</h3>
|
||||||
|
</div>
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>课程编号</th>
|
||||||
|
<th>课程名称</th>
|
||||||
|
<th>成绩</th>
|
||||||
|
<th>绩点</th>
|
||||||
|
<th>学分</th>
|
||||||
|
<th>课程大类</th>
|
||||||
|
<th>修读方式</th>
|
||||||
|
<th>考试性质</th>
|
||||||
|
<th>成绩方式</th>
|
||||||
|
<th>有效</th>
|
||||||
|
<th>备注</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
List<StudentGrade> studentGrades = (List<StudentGrade>)session.getAttribute("studentGrades");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(StudentGrade student : studentGrades){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= student.getYearTerm()%></td>
|
||||||
|
<td><%= student.getStudentId()%></td>
|
||||||
|
<td><%= student.getStudentName()%></td>
|
||||||
|
<td><%= student.getCourseId()%></td>
|
||||||
|
<td><%= student.getCourseName()%></td>
|
||||||
|
<td><%= student.getScore() %></td>
|
||||||
|
<td><%= student.getGradePoint() %></td>
|
||||||
|
<td><%= student.getCredit() %></td>
|
||||||
|
<td><%= student.getCourseClass() %></td>
|
||||||
|
<td><%= student.getStudyWay() %></td>
|
||||||
|
<td><%= student.getExamWay() %></td>
|
||||||
|
<td><%= student.getGradeWay() %></td>
|
||||||
|
<td><%= student.getEffectivity() %></td>
|
||||||
|
<td><%= student.getRemarks() %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,184 @@
|
|||||||
|
<%@page import="com.hua.entity.CourseScheduleShow"%>
|
||||||
|
<%@page import="java.util.ArrayList"%>
|
||||||
|
<%@page import="java.util.HashMap"%>
|
||||||
|
<%@page import="com.hua.entity.CourseSchedule"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/login/login.jsp">注销</a>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/informationinquiry/informationinquiry.jsp">返回上一步</a>
|
||||||
|
<div>
|
||||||
|
<h3>课表查询</h3>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/courseScheduleServlet" method="post">
|
||||||
|
<div>
|
||||||
|
学年学期:
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
周次:
|
||||||
|
<select name="week">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="第1周">第1周</option>
|
||||||
|
<option value="第2周">第2周</option>
|
||||||
|
<option value="第3周">第3周</option>
|
||||||
|
<option value="第4周">第4周</option>
|
||||||
|
<option value="第5周">第5周</option>
|
||||||
|
<option value="第6周">第6周</option>
|
||||||
|
<option value="第7周">第7周</option>
|
||||||
|
<option value="第8周">第8周</option>
|
||||||
|
<option value="第9周">第9周</option>
|
||||||
|
<option value="第10周">第10周</option>
|
||||||
|
<option value="第11周">第11周</option>
|
||||||
|
<option value="第12周">第12周</option>
|
||||||
|
<option value="第13周">第13周</option>
|
||||||
|
<option value="第14周">第14周</option>
|
||||||
|
<option value="第15周">第15周</option>
|
||||||
|
<option value="第16周">第16周</option>
|
||||||
|
<option value="第17周">第17周</option>
|
||||||
|
<option value="第18周">第18周</option>
|
||||||
|
<option value="第19周">第19周</option>
|
||||||
|
<option value="第20周">第20周</option>
|
||||||
|
</select>
|
||||||
|
<input type="submit" value="查询"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<c:if test="${sessionScope.courseScheduleShows != null }">
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th height="50px"></th>
|
||||||
|
<th height="50px">星期一</th>
|
||||||
|
<th height="50px">星期二</th>
|
||||||
|
<th height="50px">星期三</th>
|
||||||
|
<th height="50px">星期四</th>
|
||||||
|
<th height="50px">星期五</th>
|
||||||
|
<th height="50px">星期六</th>
|
||||||
|
<th height="50px">星期日</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
List<CourseScheduleShow> courseScheduleShows = (List<CourseScheduleShow>)session.getAttribute("courseScheduleShows");
|
||||||
|
session.removeAttribute("courseScheduleShows");
|
||||||
|
for(CourseScheduleShow courseScheduleShow : courseScheduleShows){
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td align="center" height="100px" width="100px"><%=courseScheduleShow.getJoint() %></td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getMonday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getMonday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getMonday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getMonday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getTuesday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getTuesday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getTuesday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getTuesday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getWesneday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getWesneday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getWesneday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getWesneday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getThursday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getThursday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getThursday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getThursday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getFriday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getFriday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getFriday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getFriday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getSaturday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getSaturday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getSaturday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getSaturday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
<td height="100px" width="150px">
|
||||||
|
<%
|
||||||
|
if(courseScheduleShow.getSunday() != null){
|
||||||
|
%>
|
||||||
|
<%=courseScheduleShow.getSunday().getCourse() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getSunday().getTeacher() %>
|
||||||
|
<br>
|
||||||
|
<%=courseScheduleShow.getSunday().getClassplace() %>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,79 @@
|
|||||||
|
<%@page import="com.hua.entity.ExamArrange"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/login/login.jsp">注销</a>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/informationinquiry/informationinquiry.jsp">返回上一步</a>
|
||||||
|
<div>
|
||||||
|
<h3>考试安排</h3>
|
||||||
|
</div>
|
||||||
|
<form action="<%=request.getContextPath()%>/examArrangeServlet" method="post">
|
||||||
|
<div>
|
||||||
|
学年学期:
|
||||||
|
<select name="yearTerm">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="2017秋季">2017秋季</option>
|
||||||
|
<option value="2017春季">2017春季</option>
|
||||||
|
<option value="2016秋季">2016秋季</option>
|
||||||
|
<option value="2016春季">2016春季</option>
|
||||||
|
</select>
|
||||||
|
<input type="submit" value="查询"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<c:if test="${sessionScope.examArranges != null }">
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>考试课程</th>
|
||||||
|
<th>考试形式</th>
|
||||||
|
<th>考试日期</th>
|
||||||
|
<th>考试时间</th>
|
||||||
|
<th>考试周次</th>
|
||||||
|
<th>考试校区</th>
|
||||||
|
<th>考试地点</th>
|
||||||
|
<th>考试座位号</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
List<ExamArrange> examArranges = (List<ExamArrange>)session.getAttribute("examArranges");
|
||||||
|
session.removeAttribute("examArranges");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(ExamArrange examArrange : examArranges){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= examArrange.getYearTerm()%></td>
|
||||||
|
<td><%= examArrange.getStudentId()%></td>
|
||||||
|
<td><%= examArrange.getStudentName()%></td>
|
||||||
|
<td><%= examArrange.getExamCourse()%></td>
|
||||||
|
<td><%= examArrange.getExamWay()%></td>
|
||||||
|
<td><%= examArrange.getExamDate() %></td>
|
||||||
|
<td><%= examArrange.getExamTime() %></td>
|
||||||
|
<td><%= examArrange.getExamWeek() %></td>
|
||||||
|
<td><%= examArrange.getExamCampus() %></td>
|
||||||
|
<td><%= examArrange.getExamplace() %></td>
|
||||||
|
<td><%= examArrange.getExamSeatNum() %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</c:if>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>信息查询</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/student.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>信息查询</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/studentInformationServlet">学籍信息</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/informationinquiry/courseschedule.jsp">课表查询</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/studentquery.query">考级成绩</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/studentQuery.grade">课程成绩</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/informationinquiry/examarrange.jsp">考试安排</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,69 @@
|
|||||||
|
<%@page import="com.hua.entity.StudentBasicInformation"%>
|
||||||
|
<%@page import="com.hua.entity.LevelExamination"%>
|
||||||
|
<%@page import="java.util.List"%>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/login/login.jsp">注销</a>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/informationinquiry/informationinquiry.jsp">返回上一步</a>
|
||||||
|
<div>
|
||||||
|
<h3>考级成绩</h3>
|
||||||
|
</div>
|
||||||
|
<table border="2" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<th>学年学期</th>
|
||||||
|
<th>学号</th>
|
||||||
|
<th>学生姓名</th>
|
||||||
|
<th>考级课程</th>
|
||||||
|
<th>考级时间</th>
|
||||||
|
<th>总成绩</th>
|
||||||
|
<th>学生院系</th>
|
||||||
|
<th>班级名称</th>
|
||||||
|
<th>专业</th>
|
||||||
|
<th>准考证号</th>
|
||||||
|
<th>听力成绩</th>
|
||||||
|
<th>阅读成绩</th>
|
||||||
|
<th>写作成绩</th>
|
||||||
|
<th>口语成绩</th>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
StudentBasicInformation student = (StudentBasicInformation)session.getAttribute("student");
|
||||||
|
List<LevelExamination> levelExamination = (List<LevelExamination>)session.getAttribute("levelExamination");
|
||||||
|
%>
|
||||||
|
<%
|
||||||
|
for(LevelExamination stu : levelExamination){
|
||||||
|
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%= stu.getYearTerm()%></td>
|
||||||
|
<td><%= stu.getStudentId()%></td>
|
||||||
|
<td><%= student.getStudentName()%></td>
|
||||||
|
<td><%= stu.getLevelEaxmCourse()%></td>
|
||||||
|
<td><%= stu.getEaxmTime()%></td>
|
||||||
|
<td><%= stu.getGrade() %></td>
|
||||||
|
<td><%= student.getAcademy() %></td>
|
||||||
|
<td><%= student.getClassName() %></td>
|
||||||
|
<td><%= student.getProfession() %></td>
|
||||||
|
<td><%= stu.getExamId() %></td>
|
||||||
|
<td><%= stu.getListenGrade() %></td>
|
||||||
|
<td><%= stu.getReadingGrade() %></td>
|
||||||
|
<td><%= stu.getWritingGrade() %></td>
|
||||||
|
<td><%= stu.getSpokenGrade() %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,52 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>学籍信息</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/login/login.jsp">注销</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>学籍信息</h3>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<font color="RED">${requestScope.message }</font>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<form action="<%=request.getContextPath()%>/studentInformationServlet" method="post">
|
||||||
|
<div>
|
||||||
|
学号:<input type="text" readonly="readonly" name="studentId" value="${requestScope.studentBasicInformation.studentId }"/>
|
||||||
|
姓名:<input type="text" readonly="readonly" name="studentName" value="${requestScope.studentBasicInformation.studentName }"/>
|
||||||
|
性别:<input type="text" readonly="readonly" name="gender" value="${requestScope.studentBasicInformation.gender }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
年级:<input type="text" readonly="readonly" name="grade" value="${requestScope.studentBasicInformation.grade }"/>
|
||||||
|
班级:<input type="text" readonly="readonly" name="className" value="${requestScope.studentBasicInformation.className }"/>
|
||||||
|
学院:<input type="text" readonly="readonly" name="academy" value="${requestScope.studentBasicInformation.academy }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
专业:<input type="text" readonly="readonly" name="profession" value="${requestScope.studentBasicInformation.profession }"/>
|
||||||
|
所在校区:<input type="text" readonly="readonly" name="campus" value="${requestScope.studentBasicInformation.campus }"/>
|
||||||
|
联系电话:<input type="text" name="phone" value="${requestScope.studentBasicInformation.phone }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
家庭地址:<input type="text" size="40" name="homeAddress" value="${requestScope.studentBasicInformation.homeAddress }"/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
<input type="submit" name="submit" value="修改"/>
|
||||||
|
<a href="<%=request.getContextPath() %>/student/informationinquiry/informationinquiry.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 学生的主页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>选课报名</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/courseselect/courseselect.jsp">选修课报名</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/courseselect/levelexamapply.jsp">考级报名</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>业务办理</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/businessmanagement/postponeExamapply.jsp">缓考申请</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/businessmanagement/exemptionapply.jsp">免修申请</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>信息查询</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/student/informationinquiry/informationinquiry.jsp">信息查询</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>学籍变动</h3>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>录入成绩</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 教师录入成绩页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/teacher/teacher.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h3>录入成绩</h3>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/teacher/teacher.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<h3>修改成绩</h3>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/teacher/teacher.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>班级信息</h3>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/teacher/teacher.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>课程信息</h3>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,56 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>教务管理系统</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 教师个人信息页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath() %>/teacher/teacher.jsp">返回上一步</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>个人信息</h3>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<font color="RED">${requestScope.message }</font>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<form action="<%=request.getContextPath()%>/teacherInformationServlet" method="post">
|
||||||
|
<div>
|
||||||
|
教师编号:<input type="text" readonly="readonly" name="teacherId" value="${requestScope.teacher.teacherId }"/>
|
||||||
|
姓名:<input type="text" readonly="readonly" name="teacherName" value="${requestScope.teacher.teacherName }"/>
|
||||||
|
性别:<input type="text" readonly="readonly" name="gender" value="${requestScope.teacher.gender }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
政治面貌:<input type="text" name="politicstatus" value="${requestScope.teacher.politicstatus }"/>
|
||||||
|
民族:<input type="text" readonly="readonly" name="nation" value="${requestScope.teacher.nation }"/>
|
||||||
|
籍贯:<input type="text" readonly="readonly" name="nativeplace" value="${requestScope.teacher.nativeplace }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
学院:<input type="text" readonly="readonly" name="academy" value="${requestScope.teacher.academy }"/>
|
||||||
|
专业:<input type="text" readonly="readonly" name="profession" value="${requestScope.teacher.profession }"/>
|
||||||
|
联系电话:<input type="text" name="phone" value="${requestScope.teacher.phone }"/>
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
邮箱:<input type="text" size="40" name="email" value="${requestScope.teacher.email }"/>
|
||||||
|
地址:<input type="text" size="40" name="address" value="${requestScope.teacher.address }"/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br><br>
|
||||||
|
<div>
|
||||||
|
<input type="submit" name="submit" value="修改并保存"/>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -0,0 +1,32 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||||
|
pageEncoding="UTF-8"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 老师的主页面 -->
|
||||||
|
<h1>${sessionScope.user.name },您好!</h1>
|
||||||
|
<div>
|
||||||
|
<%session.setAttribute("path", request.getRequestURI()); %>
|
||||||
|
<a href="<%=request.getContextPath()%>/modify/modifypassword.jsp">修改密码</a>
|
||||||
|
<a href="<%=request.getContextPath()%>/logoutServlet">注销</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>信息查询</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/teacherInformationServlet">个人信息</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/teacher/inquirynews/classinformation.jsp">班级信息</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/teacher/inquirynews/courseinformation.jsp">课程信息</a>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>成绩管理</h3>
|
||||||
|
<a href="<%=request.getContextPath()%>/teacher/grademanagement/insertgrade.jsp">录入成绩</a>
|
||||||
|
<br><br>
|
||||||
|
<a href="<%=request.getContextPath()%>/teacher/grademanagement/modifygrade.jsp">修改成绩</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue