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

📄 borrowlist.jsp

📁 eclipse+struts+sqlserver 简单图书管理系统,内有文档
💻 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">前&nbsp;&nbsp;<font color="#ff0000"><bean:write name="count"/></font>&nbsp;&nbsp;条记录</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 + -