• 大小: 2.36MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-31
  • 语言: Java
  • 标签: 宠物  医院  管理  系统  

资源简介

两年前写的一个程序了,简单的三层结构,JSP+SERVLET+SQLSERVER,现在看来很多地方都需改进,不过对当时初学的我来说还是很满意了!供大家参考~~高手勿笑

资源截图

代码片段和文件信息

package petbean;

/**
 * 

title: AdminPageBean


 * 

Description: 用于存储当前业务所查询出来的总页数


 * 

Copyright: Copyright (c) disc小组


 * 

Company: 北大青鸟锦江中心


 * 

Date: 2007年10月7日


 * @author 王维
 * @version 1.0
 */
public class AdminPageBean {
    public static int pageCount = 0;  //总页数
    public static int pageRowsCount = 8;    //每页分多少行
    /**
     * 返回总页数
     * @return int
     */
    public int getPageCount() {
        return pageCount;
    }
    /**
     * 计算出总页数
     * @param rowsCount int 总行数
     */
    public void setPageCount(int rowsCount) {
        if(rowsCount > 0){
            if (rowsCount % pageRowsCount == 0) {
                pageCount = rowsCount / pageRowsCount;
            } else {
                pageCount = rowsCount / pageRowsCount + 1;
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    1441792  2007-10-18 11:45  JSP_DiscoveryPetHospital\database\PetHospitalSystem_Data.MDF

     文件    1048576  2007-10-18 11:45  JSP_DiscoveryPetHospital\database\PetHospitalSystem_Log.LDF

     文件       8247  2008-10-28 16:52  JSP_DiscoveryPetHospital\pethospital\classes\package cache\petbean.dep2

     文件       1996  2008-10-28 16:52  JSP_DiscoveryPetHospital\pethospital\classes\package cache\petbusiness.dep2

     文件       1214  2008-10-28 16:52  JSP_DiscoveryPetHospital\pethospital\classes\package cache\petdbconnection.dep2

     文件      26310  2008-10-28 16:52  JSP_DiscoveryPetHospital\pethospital\classes\package cache\petservlet.adminservlet.dep2

     文件      29516  2008-10-28 16:52  JSP_DiscoveryPetHospital\pethospital\classes\package cache\petservlet.dep2

     文件        650  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petbean\AdminPageBean.class

     文件       2241  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petbean\ClientInfoBean.class

     文件        961  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petbean\DeptInfoBean.class

     文件       1394  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petbean\DoctorMessageBean.class

     文件       3824  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petbean\EmployeeInfoBean.class

     文件        570  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petbean\HospitalMessageBean.class

     文件        576  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petbean\LevelOneInfoBean.class

     文件       1385  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petbean\LevelTwoInfoBean.class

     文件       1566  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petbean\NewsInfoBean.class

     文件       2621  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petbean\PetInfoBean.class

     文件       1090  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petbean\TopicBean.class

     文件       1984  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petdbconnection\DBConnection.class

     文件       2090  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\AddPetCaseServlet.class

     文件       1825  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\AdminInputServlet.class

     文件       2096  2008-10-28 16:55  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\AdminServlet.class

     文件       2172  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\AfficheServlet.class

     文件       2814  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\AmendPersonnelServlet.class

     文件       2322  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\DelectPersonnelServlet.class

     文件       2310  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\DeleteNewsServlet.class

     文件       3062  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\InputPersonnelServlet.class

     文件       1274  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\MoreNewsServlet.class

     文件       3304  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\NewsEditServlet.class

     文件       1832  2008-10-28 16:50  JSP_DiscoveryPetHospital\pethospital\classes\petservlet\adminservlet\RemoveSessionServlet.class

............此处省略376个文件信息

评论

共有 条评论