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

📄 d212.jsp

📁 持久层hibernate技术使用的一个例子
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK" isErrorPage="true" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>

<link href="/css/base.css" rel="stylesheet" type="text/css">
<SCRIPT language=javascript>
function searchCompany(TTestid){
	//var companyName = document.forms[0].c_name.value;
	var url ='D2120.do?TTestid='+TTestid;
	window.open(url,'','top = 10,left=10,width=800,height = 600,toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no');
}

	function doSubmit1(start) {
        document.U01KaoshiForm.action = "/D212.do?start=" + start;
        document.U01KaoshiForm.submit();
      }
    </SCRIPT>
</head>

<body>
<table width="80%" align="center" >
  <tr>
    <td width="33%">&nbsp;</td>
    <td width="33%">&nbsp;</td>
    <td width="33%">&nbsp;</td>
  </tr>
  <tr>
    <td width="33%">&nbsp;</td>
    <td width="33%" align="center"><span class="font_title">在线考试</span></td>
    <td width="33%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2" align="right">
	<span id="liveclock" style"=width: 109px; height: 15px"></span>
    
	</td>
  </tr>
</table>
<table width="80%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#7AA1E6">
  <tr align="center" bgcolor="#FFFFFF">
    <td width="33%" align="center">考试主题</td>
    <td width="33%" align="center">考试科目</td>
    <td width="33%" align="center">考试时间</td>
  </tr>
  <logic:present name="kaoshi">
  <logic:iterate id="kaoshiu01a" name="kaoshi" property="rs" type="cn.hope.front.pojo.TTestInfo">
  <tr bgcolor="ffffff">
    <td width="33%" align="center"><a href="#" onClick="searchCompany(<bean:write name="kaoshiu01a" property="TTestid"/>)"><bean:write name="kaoshiu01a" property="TTestname"/></a></td>
    <td width="33%" align="center"><bean:write name="kaoshiu01a" property="CSubject.SSbname"/></td>
    <td width="33%" align="center"><bean:write name="kaoshiu01a" property="TTesttime"/>分钟</td>
  </tr>
  </logic:iterate>
  </logic:present>
</table>
<table width="80%" align="center">
  <tr>
    <td width="50%" >
	
	<logic:present name="kaoshi">
	 <bean:write name="kaoshi" property="currentPage" />
            /
            <bean:write name="kaoshi" property="totalPage" />
            页&nbsp;每页:
            <bean:write name="kaoshi" property="range" />
            总数:
    <bean:write name="kaoshi" property="count" /></td>
    <td align="right">         <bean:write name="kaoshi" property="fenye" filter="false" />
  </logic:present>
  </td>
  </tr>
</table>

<table width="80%" align="center">
  <tr>
    <td width="33%">&nbsp;</td>
    <td width="33%">&nbsp;</td>
    <td width="33%">&nbsp;</td>
  </tr>
  <tr>
    <td width="33%" align="center"></td>
    <td>&nbsp;</td>
    <td width="33%" align="center"></td>
  </tr>
  <tr>
    <td height="40">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

<html:form action="D212.do"/>

</body>
</html>

⌨️ 快捷键说明

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