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

📄 studemtmainmiddle.jsp

📁 选课系统,基于SSH2的选课系统,欢迎下载
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.util.List,xiong.gang.student.bean.MainStudentBean" errorPage="" %>
<jsp:useBean id="main" class="xiong.gang.student.bean.MainStudentFanYeBean" scope="page"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="../css/bgcolor.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
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; }
-->
</style></head>

<body>
<table width="950" border="1" align="center" bordercolor="#000000" bgcolor="#CCCCCC">
  <!--DWLayoutTable-->
    <tr>
      <td width="940" height="494" align="center" valign="top" bgcolor="#CCCCCC">
	    <div align="center">
        <table width="950" >
          <!--DWLayoutTable-->
          <tr bgcolor="#999999">
            <td width="70" height="30" valign="top" class="STYLE1">课程号</td>
            <th width="119" valign="top" class="STYLE1">课程名</th>
			<th width="250" valign="top" class="STYLE1">课程简介</th>
            <th width="104" valign="top" class="STYLE1">任课教师</th>
            <th width="104" valign="top" class="STYLE1">所开院系</th>
            <th width="256" valign="top" class="STYLE1">教师简介</th>
          </tr>
          
          <%
		String str_curPage = request.getParameter("curpage");
		if (str_curPage != null) {
		main.setCurpage(Integer.parseInt(str_curPage));
		}
		List list = main.studentmainxianxi();
		int allrow = main.getAllrow();
		int alllpage = main.getAlllpage();
		int curpage = main.getCurpage();
		int rowperpage = main.getRowperpage();
		for (int i = 0; i < list.size(); i++) {
		MainStudentBean databean = (MainStudentBean) list.get(i);
	      %>
	    <tr bgcolor="#999999">
		<td>
			<%=databean.getCno() %>
		</td>
		<td>
			<%=databean.getCname() %>
		</td>
		<td>
			<%=databean.getCjieshao() %>
		</td>
		<td>
			<%=databean.getTname() %>
		</td>
		<td>
			<%=databean.getCxibu() %>
		</td>
		<td >
			<%=databean.getTjieshao() %>
		</td>
		</tr>
	<%
		}
	%>
          <tr bgcolor="#999999">
            <td height="30">&nbsp;</td>
            <th>&nbsp;</th>
            <th>&nbsp;</th>
            <th>&nbsp;</th>
            <th>&nbsp;</th>
            <th>&nbsp;</th>
          </tr>
        </table>
      </div></td>
    </tr>
</table>
<div align="center">
<%
		if (curpage != 1) {
	%>
		<a href="studemtmainmiddle.jsp?curpage=1" class="STYLE1">首页</a>
		<a href="studemtmainmiddle.jsp?curpage=<%=curpage - 1%>" class="STYLE1">上一页</a>
	<%
		}
	%>

	<%
		if (curpage != alllpage) {
	%>
		<a href="studemtmainmiddle.jsp?curpage=<%=curpage + 1%>" class="STYLE1">下一页</a>
		<a href="studemtmainmiddle.jsp?curpage=<%=alllpage%>" class="STYLE1">末页</a>
	<%
	}
	%>
	</div>
</body>
</html>

⌨️ 快捷键说明

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