forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowCourse.jsp
More file actions
86 lines (83 loc) · 3.39 KB
/
showCourse.jsp
File metadata and controls
86 lines (83 loc) · 3.39 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
<%@ 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>
<title>showCourse.jsp</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table align="center" width="90%">
<tr><td colspan="2">
<table width="750px">
<tr>
<td align="right" valign="middle">
<html:link page="/course.do?method=showInsert">
<img src="images/addCourse.gif" border="0"/></html:link></td>
</tr>
</table>
</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="28" colspan="4" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><span class="STYLE3"> 请输入搜索条件:</span></td>
</tr>
<tr>
<td height="28" bordercolor="#FFFFFF" bgcolor="#FFFFFF" align="center">选择专业:
<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" bordercolor="#FFFFFF" bgcolor="#FFFFFF" align="center">授课教师姓名:
<html:text property="teacherName" size="8"/></td>
<td height="24" bordercolor="#FFFFFF" bgcolor="#FFFFFF" align="center">课程名称:
<html:text property="name" size="20" /></td>
<td height="24" bordercolor="#FFFFFF" bgcolor="#FFFFFF" align="center"><html:submit value="搜索"/></td>
</tr>
</table>
</html:form> </td>
</tr>
<tr>
<td colspan="2">
<p>
<table border="0" width="100%" align="center" cellpadding="0" 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>
<td class="td0">学生是否可选</td>
</tr>
<logic:iterate id="cList" name="cList">
<tr>
<td class="td1">${cList[0].enterYear}届${cList[0].langthYear}年制${cList[0].name}专业</td>
<td class="td1"><html:link page="/course.do?method=courseInfo&id=${cList[1].id}">${cList[1].name}</html:link></td>
<td class="td1">${cList[1].schooltime}</td>
<td class="td1">${cList[1].addr}</td>
<td class="td1">${cList[1].credit}</td>
<td class="td1">${cList[1].teacherName}</td>
<td class="td1">${cList[1].isFinish?"可选":"不可选"}</td>
</tr>
</logic:iterate>
</table> </td>
</tr>
</table>
</body>
</html:html>