?? borrowlist.jsp
字號:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp" %>
<html:html>
<head>
<title>JSP for QueryBorrowForm form</title>
</head>
<body>
<table width="800" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><html:errors/></tr>
<tr>
<td>
<html:form action="/queryBorrow">
查詢記錄: <html:select property="searchType">
<html:option value="uid" >讀者編號</html:option>
<html:option value="bid" >圖書編號</html:option>
<html:option value="dt_borrow" >借書日期</html:option></html:select>
<html:text property="condition"/>
<html:submit>查詢</html:submit>
</html:form>
<td>
<td><logic:present name="count" scope="request">前 <font color="#ff0000"><bean:write name="count"/></font> 條記錄</logic:present></td>
</tr>
</table>
<table width="800" border=0 align="center" cellpadding="0" cellspacing="1" >
<tr height="2"><hr/></tr>
<tr bgcolor="#009966">
<td>用戶編號</td>
<td>圖書編號</td>
<td>借書日期</td>
<td>借書數量</td>
<td>未還數量</td>
<td>還書</td>
</tr>
<logic:present name="borrows" scope="request">
<logic:iterate id="show" name="borrows" scope="request">
<tr >
<td><bean:write name="show" property="uid" /></td>
<td><bean:write name="show" property="bid" /></td>
<td><bean:write name="show" property="dt_borrow" /></td>
<td><bean:write name="show" property="number" /></td>
<td><bean:write name="show" property="not_num" /></td>
<td><a href="dbUpdate.do?functiontype=upborrows&id=<bean:write name='show' property='id'/>">還書</a></td>
</tr>
</logic:iterate>
</logic:present>
</table>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -