ÂÛÎÄÊDZ¾ÍŶӰïͬѧ×ö¹ýµÄ°¸Àý£¬ÐèÒª±ÏÒµÂÛÎÄÉè¼Æ£¨ÂÛÎÄ+Ô´³ÌÐò+´ð±çPPT£©µÄͬѧÁªÏµ799523222
±ÏÒµÉè¼Æ£¨ÂÛÎÄ£©
JSPͼÊé¹ÜÀíϵͳ
ÐÕ Ãû ϵ ±ð¡¢ ר Òµ µ¼ ʦ ÐÕ Ãû¡¢Ö° ³Æ Íê ³É Ê± ¼ä
I
The Research and Design of Library Management System Based on JSP
ABSTRACT
With the rapid development of Internet, people had no longer meet the purpose of information browsing and publishing, but eager to enjoy more and more convenient brought by Internet. Mastered the computer knowledge and the application, is a trained new talented person's important link. Among the many computer languages, Java is undoubtedly one of the most viable; due to computer development has brought the emergence of new applications, Java become more and more popular. As a programming language, Java is a distributed, object-oriented, does not depend on the structure of the machine, its biggest advantage of the CPU and the environment without network restrictions.
Library management system is adapted to live in today's fast-paced society, based on JSP development and design; faced manager and readers two different groups of applications system. This thesis minutely introduced the content of the current situation of library management system, the feasibility of library management system, the design of the database, the realization of each function.
The system is trying to use JSP on the network architecture of a dynamic library management system, which is under Windows XP or Windows7, the MySQL database as platform, Tomcat application server as a network information service using JSP (Java Server Pages) technology development of the library management system. Main achievement of the five functional areas: 1. Register and login, divided into management staff and general users. 2. User management, you can inquiries the user and check the current status and related information of user; 3. Book management, the main stacks of the management and implementation of management books, including the stacks to create and delete, new book storage and waste removal and other books;4. Status management, it includes books¡¯ status and management of these books; 5. Reader management, you can delete or update the library's readers.
KEY WORDS: Management of library, Java, JSP
II
»ùÓÚJSPµÄͼÊé¹Ý¹ÜÀíϵͳµÄÑо¿Ó뿪·¢
Õª Òª
°éËæ×Å»¥ÁªÍøµÄÅ·¢Õ¹£¬ÈËÃÇÒѾ²»ÔÙÂú×ãÓÚÐÅÏ¢µÄä¯ÀÀºÍ·¢²¼£¬¶øÊÇ¿ÊÍû×ÅÄܹ»³ä·ÖÏíÊÜÍøÂçËù´øÀ´µÄ¸ü¼Ó¶àµÄ±ãÀû¡£ÕÆÎÕ¼ÆËã»ú֪ʶºÍÓ¦Óã¬ÊÇÅàÑøÐÂÐÍÈ˲ŵÄÒ»¸öÖØÒª»·½Ú¡£ÔÚÖÚ¶àµÄ¼ÆËã»úÓïÑÔµ±ÖУ¬JavaÎÞÒÉÊÇ×î¾ßÉúÃüÁ¦µÄÓïÑÔÖ®Ò»£¬ÓÉÓÚ¼ÆËã»ú·¢Õ¹´øÀ´µÄÐÂÓ¦ÓõijöÏÖ£¬JavaÔ½À´Ô½Á÷ÐС£×÷ΪһÖÖ³ÌÐòÉè¼ÆÓïÑÔ£¬JavaÊÇ·Ö²¼Ê½µÄ¡¢ÃæÏò¶ÔÏóµÄ¡¢²»ÒÀÀµÓÚ»úÆ÷µÄ½á¹¹£¬Ëü×î´óµÄÀûÓÃÁËÍøÂç¶ø²»ÊÜCPUºÍ»·¾³µÄÏÞÖÆ¡£
ͼÊé¹Ý¹ÜÀíϵͳÕýÊÊÓ¦Á˵±½ñÉç»á¿ì½Ú×àµØÉú»î£¬»ùÓÚJSP¿ª·¢Éè¼Æ£¬Ãæ¶Ô¹ÜÀíÈËÔ±ºÍ¶ÁÕßÁ½ÖÖ²»Í¬ÈËȺµÄÓ¦ÓÃϵͳ¡£±¾ÎÄ´ÓͼÊé¹Ý¹ÜÀíϵͳµÄÏÖ×´¡¢¿ÉÐÐÐÔµ½Êý¾Ý¿âµÄÉè¼Æ£¬ÔÙµ½¸÷¹¦ÄÜÄ£¿éµÄʵÏÖ×öÁËÏêϸµÄ½éÉÜ¡£
±¾ÏµÍ³±ãÊdz¢ÊÔÓÃJSPÔÚÍøÂçÉϼܹ¹Ò»¸ö¶¯Ì¬µÄͼÊé¹Ý¹ÜÀíϵͳ£¬ËüÊÇÔÚWindows XP»òWindows7Ï£¬ÒÔMySQLΪÊý¾Ý¿â¿ª·¢Æ½Ì¨£¬TomcatÍøÂçÐÅÏ¢·þÎñ×÷ΪӦÓ÷þÎñÆ÷£¬²ÉÓÃJSP(Java Server Pages)¼¼Êõ¿ª·¢µÄͼÊé¹Ý¹ÜÀíϵͳ¡£Ö÷ҪʵÏÖÁË5¸ö·½ÃæµÄ¹¦ÄÜ£º1.µÇ¼£¬·ÖΪ¹ÜÀíÔ±ºÍÆÕͨÓû§£»2.Óû§¹ÜÀí£¬¶ÔÓû§½øÐвéѯ£¬¿ÉÐÞ¸ÄÓû§µÄµ±Ç°×´Ì¬ºÍÏà¹ØÐÅÏ¢£¬²¢¿É¶ÔÓû§½øÐÐɾ³ý´¦Àí£»3.ͼÊé¹ÜÀí£¬Ö÷ҪʵÏÖÊé¿âµÄ¹ÜÀíºÍÊé¼®µÄ¹ÜÀí£¬°üÀ¨Êé¿âµÄ½¨Á¢ºÍɾ³ý£¬ÐÂÊéµÄÈë¿âºÍ·ÏÊéµÄɾ³ýµÈ£»4.½èÔĹÜÀí£¬°üÀ¨Êé¼®½èÔĺÍÊé¼®¹é»¹µÄ¹ÜÀí£»5.¶ÁÕß¹ÜÀí£¬¿ÉÒÔɾ³ý»ò¸üб¾Í¼Êé¹ÝµÄ¶ÁÕß¡£ ¹Ø¼ü´Ê£ºÍ¼Êé¹Ý¹ÜÀí£¬Java£¬JSP
III
Ŀ ¼
1 Ð÷ ÂÛ .................................................................. 1 2 ÐèÇó·ÖÎö ............................................................... 2
2.1 ͼÊé¹ÜÀíϵͳµÄÏÖ×´ ................................................ 2 2.2 Êг¡ÐèÇó·ÖÎö ...................................................... 3 3 ¿ÉÐÐÐÔ·ÖÎö ............................................................. 4
3.1 ¾¼Ã¿ÉÐÐÐÔ·ÖÎö .................................................... 4 3.2 ¼¼Êõ¿ÉÐÐÐÔ·ÖÎö .................................................... 4 4 ÏîÄ¿¹æ»® ............................................................... 6
4.1 ÔËÐл·¾³¡ª¡ªJDK ................................................... 6 4.2 HTMLÓïÑÔ ......................................................... 6 4.3 ½Å±¾ÓïÑÔJavaScript ............................................... 6 4.4 ·þÎñÆ÷¡ª¡ªTomcat .................................................. 7 4.5 ÏîÄ¿¹æ»® .......................................................... 7
4.2.1 ÈÎÎñ·ÖÅä .................................................... 7 4.2.2 ¿ª·¢½ø¶È¸ú×Ù ................................................ 8 5 Óû§½çÃæÉè¼Æ ........................................................... 9
5.1 ½çÃ濪·¢¹¤¾ß ...................................................... 9 5.2 ½çÃæÉè¼Æ˼Ïë ...................................................... 9 5.3 ½çÃæÉè¼ÆÔÔò ...................................................... 9 6 Êý¾Ý¿â·ÖÎöÓëÉè¼Æ ...................................................... 11
6.1 Êý¾Ý¿â¼ò½é ....................................................... 11 6.2 Êý¾Ý¿âµÄÉè¼Æ ..................................................... 11 6.3 Êý¾Ý¿âµÄ°²È«ÐÔ ................................................... 14 7 ϵͳÉè¼ÆÓëʵÏÖ ........................................................ 15
7.1 ¿ª·¢¹¤¾ß½éÉÜ ..................................................... 15 7.2 ³ÌÐòÉè¼Æ˼Ïë ..................................................... 15 7.3 ´úÂëÉè¼Æ±ê×¼Óë¹æ·¶ ............................................... 16 7.4 ¸÷Ä£¿é¹¦ÄÜÉè¼Æ ................................................... 16
7.4.1 ¹ÜÀíÔ±µÇ¼Óë×¢²áÄ£¿é ....................................... 16 7.4.2 Óû§¹ÜÀíÄ£¿é ............................................... 17 7.4.3 ͼÊé¹ÜÀíÄ£¿é ............................................... 18 7.4.4 ½èÔĹÜÀíÄ£¿é ............................................... 18 7.4.5 ¶ÁÕß¹ÜÀíÄ£¿é ............................................... 19 8 ϵͳ²âÊÔÓëά»¤ ........................................................ 20