forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowStat.jsp
More file actions
87 lines (81 loc) · 3.54 KB
/
showStat.jsp
File metadata and controls
87 lines (81 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<link rel="stylesheet" type="text/css" href="images/css.css">
</head>
<body>
<html:form action="/statInfo.do?method=findBySearch">
<table align="center" width="90%">
<tr>
<td colspan="2" height="20"> </td>
</tr>
<tr>
<td width="28" valign="middle"> <img src="images/jiantou.jpg" width="15" height="17" /></td>
<td width="960" valign="middle"><span class="STYLE1">当前位置:</span>统计信息</td>
</tr>
<tr>
<td height="4" colspan="2" bgcolor="afdf69" ></td>
</tr>
<tr>
<td colspan="2">
<html:form action="/course.do?method=findBySearch">
<table border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#afdf69" width="100%">
<tr>
<td height="24" colspan="7" bgcolor="#FFFFFF" class="STYLE3"> 输入搜索条件:</td>
</tr>
<tr>
<td height="24" bgcolor="#FFFFFF"> 选择专业:</td>
<td height="24" bgcolor="#FFFFFF"> <html:select property="specialtyId">
<html:option value="-1">请选择专业</html:option>
<logic:iterate id="sList" name="sList">
<html:option value="${sList.id}">${sList.enterYear}届${sList.langthYear}年制${sList.name}专业</html:option>
</logic:iterate>
</html:select>
</td>
<td height="24" bgcolor="#FFFFFF"> 授课教师姓名:</td>
<td height="24" bgcolor="#FFFFFF"> <html:text property="teacherName" size="8"/></td>
<td height="24" bgcolor="#FFFFFF"> 课程名称:</td>
<td height="24" bgcolor="#FFFFFF"> <html:text property="name" size="20" /></td>
<td height="24" bgcolor="#FFFFFF"> <html:submit value="搜索"/>
</td>
</tr>
</table>
</html:form>
</td>
</tr>
<tr>
<td colspan="2">
<p>
<table width="100%" align="center" cellspacing="0">
<tr>
<td class="td0">专业名称</td>
<td class="td0">课程名称</td>
<td class="td0">授课教师</td>
<td class="td0">上课地点</td>
<td class="td0">上课时间</td>
<td class="td0">上课学员名单</td>
</tr>
<logic:iterate id="cList" name="cList">
<bean:define id="num" value="${cList[5]}"/>
<logic:notEqual name="num" parameter="" value="0">
<tr>
<td class="td1">${cList[5]}届${cList[6]}年制${cList[7]}专业</td>
<td class="td1">${cList[1]} </td>
<td class="td1">${cList[2]} </td>
<td class="td1">${cList[3]} </td>
<td class="td1">${cList[4]} </td>
<td class="td1"><html:link page="/statInfo.do?method=stuList&courseId=${cList[0]}&specialtyId=${cList[8]}">查看</html:link></td>
</tr>
</logic:notEqual>
</logic:iterate>
</table>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>