list

<%@ page contentType="text/html;charset=GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="css/cfs.css" type="text/css">
<title>无标题文档</title>
<script language="JavaScript" src="script/calendar_1.js"></script>
</head>

<body>

  <form name="disform" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
              <tr>
    
                <td width="200" height="30" align="right" class="form_text"><a href="newBalance.jsp">新增记录</a></td>
     <td width="300" height="30" align="right" class="form_text">月份:</td>
    <td height="30" width="150" class="form_text">
               <input type="text" name="startDate" id="startDate" size="12" style="width:120">
               <img src="image/calen_pic.gif" width="19" height="14" border="0" id="f_trigger_a" style="cursor: pointer;" title="日期选择" />
               <script type="text/javascript">
         Calendar.setup({
            inputField     :    "startDate",      // 日期输入框id
            ifFormat       :    "%Y-%m-%d", // 日期时间格式
            showsTime      :    false,            // 是否显示时间选择器
            button         :    "f_trigger_a",   // 触发按钮id
            singleClick    :    true,           // 单击还是双击模式
            step           :    1                // 年份间隔
        });
    </script></td>
    
       
            
             <td width="300" align="left">
             <input type="button" value="确 定" name="B12" class="button1">    </td>
              </tr>
   
            </table>
   </form>


<table width="407" border="1" align="center">
  <tr>
    <th width="88" scope="row">日期</th>
    <td width="83">金额</td>
    <td width="83">描述</td>
    <td width="100">种类</td>
 <td width="100">详细</td>
  </tr>
  <c:if test="{empty list}">
  <div>对不起,暂无数据!</div>
</c:if>
<c:if test="{not empty list}">

<c:forEach var="balance" items="list">
  <tr>
    <th height="34" scope="row">&nbsp;</th>
    <td><c:out value="${balance.day}"/></td>
    <td><c:out value="${balance.money}"/></td>
    <td><c:out value="${balance.type}"/></td>
    <td><c:out value="${balance.description}"/></td>
 <td ><a href="balanceInfo.do"></a></td>
  </tr>
  </c:forEach>
  </c:if>
</table>


</body>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值