Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
readerType.jsp
Package: LibraryManage.rar [view]
Upload User: toby828
Upload Date: 2015-06-26
Package Size: 8558k
Code Size: 3k
Category:
Jsp/Servlet
Development Platform:
Java
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ page import="com.dao.ReaderTypeDAO" %>
- <%@ page import="com.actionForm.ReaderTypeForm" %>
- <%@ page import="java.util.*"%>
- <html>
- <%
- Collection coll=(Collection)request.getAttribute("readerType");
- %>
- <head>
- <title>图书馆管理系统</title>
- <link href="CSS/style.css" rel="stylesheet">
- </head>
- <body onLoad="clockon(bgclock)">
- <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
- <tr>
- <td height="183">
- <%@include file="navigation.jsp"%>
- </td>
- </tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="510" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
- <tr>
- <td height="510" valign="top" style="padding:5px;"><table width="98%" height="487" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="22" valign="top" class="word_orange">当前位置:读者管理 > 读者类型管理 >>></td>
- </tr>
- <tr>
- <td align="center" valign="top"><%
- if(coll==null || coll.isEmpty()){
- %>
- <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="36" align="center">暂无读者类型信息!</td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <a href="#" onClick="window.open('readerType_add.jsp','','width=292,height=175')">添加读者类型信息</a> </td>
- </tr>
- </table>
- <%
- }else{
- //通过迭代方式显示数据
- Iterator it=coll.iterator();
- int ID=0;
- String name="";
- int number=0;
- %>
- <table width="91%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="right">
- <a href="#" onClick="window.open('readerType_add.jsp','','width=292,height=175')">添加读者类型信息</a> </td>
- </tr>
- </table>
- <table width="91%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#D2E3E6" bordercolorlight="#FFFFFF">
- <tr align="center" bgcolor="#e3F4F7">
- <td width="35%">读者类型名称</td>
- <td width="35%">可借数量</td>
- <td width="16%">修改</td>
- <td width="14%">删除</td>
- </tr>
- <%
- while(it.hasNext()){
- ReaderTypeForm readerTypeForm=(ReaderTypeForm)it.next();
- ID=readerTypeForm.getId().intValue();
- name=chStr.toChinese(readerTypeForm.getName());
- number=readerTypeForm.getNumber();
- %>
- <tr>
- <td style="padding:5px;"> <%=name%></td>
- <td style="padding:5px;"> <%=number%></td>
- <td align="center"><a href="#" onClick="window.open('readerType.do?action=readerTypeModifyQuery&ID=<%=ID%>','','width=292,height=175')">修改</a></td>
- <td align="center"><a href="readerType.do?action=readerTypeDel&ID=<%=ID%>">删除</a></td>
- </tr>
- <%
- }
- }
- %>
- </table></td>
- </tr>
- </table>
- </td>
- </tr>
- </table><%@ include file="copyright.jsp"%></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>