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

📄 c102.jsp

📁 持久层hibernate技术使用的一个例子
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=gbk" import="java.util.*"%>


<%@ 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" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>

<Script Language="JavaScript"> 
    function doSubmit1(start) {
       		 document.u04C102Form.action="/c102.do?method=find&start="+start;
        	 document.u04C102Form.submit();
      }
    </Script> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>详细考勤记录</title>
<link href="/css/base.css" rel="stylesheet" type="text/css">
</head>

<body>
<html:form action="/c102">
<table width="80%"  border="0" align="center" cellpadding="4" cellspacing="0">
  <tr>
    <td><span class="font_title">详细考勤记录</span></td>	
  </tr>
</table>
<center>

<br>
<br>
<table width="80%"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#7AA1E6">
  <tr align="center" bordercolor="1" bgcolor="#FFFFFF">
    <td width="12%"><div align="center">考勤日期</div></td>
    <td width="10%"><div align="center">到校情况</div></td>
    <td width="10%"><div align="center">离校情况</div></td>
    <td width="34%"><div align="center">未正常到校原因</div></td>
    <td><div align="center">未正常离校原因</div></td>
  </tr>
  
   <logic:present name="jourList">
  	<logic:iterate id="list" name="jourList" property="rs">
		  <tr bordercolor="1" bgcolor="#FFFFFF">
		    <td><div align="center"><bean:write name="list" property="sjouDate" format="yyyy-MM-dd"/></div></td>
		    <td><div align="center"><bean:write name="list" property="comeCase" /></div></td>
		    <td><div align="center"><bean:write name="list" property="goCase" /></div></td>
		    <td><div align="center"><bean:write name="list" property="sjouCrea"/></div></td>
		    <td><div align="center"><bean:write name="list" property="sjouGrea"/></div></td>
		  </tr>
	</logic:iterate>	  
  </logic:present>
 
  <tr align="center" bordercolor="1" bgcolor="#FFFFFF">
  <td colspan="6">
<input name="baobiao_button" type="button" value="打印报表" class="inputstyle2">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<html:button property="" styleClass="inputstyle2" onclick="window.location.href='/c10.do?method=around&id=${param.id}'" value="返回"/>
</html:form>
  </td>
  </tr>
</table>

<table width="80%"  border="0" align="center" cellpadding="4" cellspacing="0">
<logic:present name="jourList">
<tr bordercolor="0" >
<td> 
		  <div align="left">
		    页数:
		    <bean:write name="jourList" property="currentPage" />
		    /
		    <bean:write name="jourList" property="totalPage" />&nbsp;
            每页:
            <bean:write name="jourList" property="range" />&nbsp;
            总数:
            <bean:write name="jourList" property="count" />
          </div>
</td>
<td align="right">		
         
            <bean:write name="jourList" property="fenye" filter="false" />
</td>
</tr>
</logic:present>
</table>
<br><br><br>

</center>
</body>
</html:html>

⌨️ 快捷键说明

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