⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tuike.jsp

📁 选课系统,基于SSH2的选课系统,欢迎下载
💻 JSP
字号:
<%@ page language="java" pageEncoding="GB18030"%>
<jsp:useBean id="chengjidata" scope="page"
	class="xiong.gang.student.bean.ChengJiData" />
	
<jsp:useBean id="chengji" scope="page"
	class="xiong.gang.student.bean.ChengJiBean" />

<%
String sno=(String)session.getAttribute("sno");
chengji=chengjidata.sql(sno);
 %>
<html>
	<head>

		<title>退课</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

		<link href="/SelectCourseSystem/css/bgcolor.css" rel="stylesheet" type="text/css">
		<style type="text/css">
		<!--
a:link{text-decoration:none}
a:hover{text-decoration:none}
a:visited{text-decoration:none}
-->
<!--
body {
	margin-left: 2px;
	margin-top: 2px;
	margin-right: 2px;
	margin-bottom: 2px;
}
.STYLE1 {
	font-size: 20px;
	font-family: "隶书";
	color: #000066;
	font-weight: bold;
}
.STYLE3 {font-size: 20px; font-family: "隶书"; color: #000066; font-weight: bold; }
.STYLE11 {font-size: 14px; font-weight: bold; }
-->
</style>
	</head>

	<body>
		<table  width="950" height="200" border="1" align="center"
			bordercolor="#000000" bgcolor="#CCCCCC">
			<!--DWLayoutTable-->
			<tr>
				<td  width="940" height="520" align="center" valign="top"
					bgcolor="#CCCCCC">

				  <div align="center">
<table  width="950" align="center">
							<!--DWLayoutTable-->
							<tr bgcolor="#999999">
								<th  width="150" height="20" valign="top" class="STYLE1">
									学号								</th>
								<th width="250" valign="top" class="STYLE1">
									姓名								</th>
								<th  width="250" valign="top" class="STYLE1">
									课程名								</th>
								<th width="201" valign="top" class="STYLE1">
									任课教师								</th>
								<th width="201" valign="top" class="STYLE1">
									就读院系								</th>
								<th width="250" valign="top" class="STYLE1">
									上课地点								</th>
								<th width="250" valign="top" class="STYLE1">
									上课时间								</th>
								<th width="250" valign="top" class="STYLE1">
									退课								</th>
							</tr>
							
							<tr bgcolor="#999999">
								<td height="30">
								  <div align="center">
								  <%=session.getAttribute("sno")%>								  </div></td>
								<td><div align="center">
								<%=((String)session.getAttribute("sname")).replace("同学","") %>
								</div></td>
								<td>
								  <div align="center">
								    <%if(chengji.getEcname()!=null){ %>
								    <%=chengji.getEcname()%>
								    <%} %>								
							      </div></td>
								<td>
								  <div align="center">
								    <%if(chengji.getEtname()!=null){ %>
								    <%=chengji.getEtname()%>
								    <%} %>								
							      </div></td>
								<td>
								  <div align="center">
								    <%if(chengji.getEsxibu()!=null){ %>
								    <%=chengji.getEsxibu()%>
								    <%} %>								
							      </div></td>
								<td>
								  <div align="center">
								    <%if(chengji.getEcaddress()!=null){ %>
								    <%=chengji.getEcaddress()%>
								    <%} %>								
							      </div></td>
								<td>
								  <div align="center">
								    <%if(chengji.getEctime()!=null){ %>
								    <%=chengji.getEctime()%>
								    <%} %>								
							      </div></td>
								<td>
								  <div align="center">
							      <a href="/SelectCourseSystem/TuiKeServlet?cno=<%=chengji.getEcno()%>">退课</a>							      </div></td>
							</tr>
					<tr align="center" valign="middle">
					  <td height="15" >&nbsp;</td>
		              <td>&nbsp;</td>
		              <td>&nbsp;</td>
		              <td colspan="2" valign="top">
					  <%
					    String success=(String)request.getAttribute("success");
						String error=(String)request.getAttribute("error");
						if(success!=null){
                       %>
                 <font color="red" class="STYLE11">退课成功!</font>
                  <%} %>
                   <%
                     if(error!=null){
                    %>
                 <font color="red" class="STYLE11">退课失败!</font>
                 <%} %>
                 
					  </td>
		              <td>&nbsp;</td>
		              <td>&nbsp;</td>
		              <td>&nbsp;</td>
		  </tr>
				    </table>
				  </div>
			  </td>
			</tr>
	</table>
	<input name="cno" type="hidden" value="<%=chengji.getEcno()%>">
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -