JSPʵÏֵļòµ¥ÂÃÓιÜÀíϵͳµÄÉè¼Æ
Õª Òª
Ä¿Ç°£¬ÂÃÓÎÒµÒѳÉΪȫÇò¾¼ÃÖз¢Õ¹ÊÆÍ·×îÇ¿¾¢ºÍ¹æÄ£×î´óµÄ²úÒµÖ®Ò»£¬»¥ÁªÍøµÄÐËÆð¸øÂÃÓÎÒµ´øÀ´ÁËеÄÆõ»ú¡£ÂÃÓÎÍøÕ¾Öð½¥³ÉΪÂÃÓÎÐÅÏ¢¹ÜÀíµÄÖ÷Ҫ;¾¶¡£Òò´Ë£¬¿ª·¢Ò»¸öÎȶ¨µÄÊÊÓÃÐԺõÄÂÃÓιÜÀíϵͳ¾ßÓзdz£ÖØÒªµÄÒâÒå¡£ÔÚ¶ÔÏÖÓÐÂÃÓβéѯÍøÕ¾µÄ·ÖÎöºÍ±È½ÏµÄ»ù´¡ÉÏ£¬ÒÀÑÃæÏò¶ÔÏóÈí¼þ¿ª·¢¹ý³Ì£¬Éè¼Æ³ö¿Í»§¶Ë»ùÓÚWebä¯ÀÀÆ÷£¬·þÎñÆ÷¶Ë»ùÓÚJSPºÍServlet£¬Êý¾ÝÔ´»ùÓÚ¹ØϵÐÍÊý¾Ý¿âµÄÈý²ã¿ò¼Ü£¬Íê³ÉJSPÒ³ÃæÉè¼Æ¡¢·þÎñÆ÷¶ËºËÐÄÇëÇóµÄ´¦ÀíÒÔ¼°¶ÔÊý¾Ý¿âµÄͬ²½¸üС£ÒÔÂÃÓιÜÀíϵͳµÄÓ¦ÓÃʵÀýʵÏÖÁËÕâ¸ö·½°¸¡£¸Ãϵͳ¿ÉÒÔʵÏÖÓοͷÖÀà²éѯ·ÏßÐÅÏ¢.·ÏßÔ¤¶¨£¬ÔÚÏßÑ¡¹ºÎïÆ·ºÍ½áÕË¡£ÏµÍ³¹ÜÀíÔ±²éѯ¡¢Ð޸ġ¢É¾³ýºÍÌí¼Ó½»Í¨ºÍÏß·,²úÆ·ÐÅÏ¢¡£ÏµÍ³¹¤×÷Îȶ¨¡¢²Ù×÷¼òµ¥¡¢Î¬»¤·½±ã¡£
¹Ø¼ü´Ê£ºÂÃÓÎÐÅÏ¢£»È¨ÏÞ£»Êý¾Ý¿â
JSP simple Tourism Management System Design
Abstract
At present , tourism is one of the most developing and the biggest large scale industry in the world. Internet brings tourism to a new turning point. Tourist information is managed mainly by tourism web site instead .As a result , it is very important to develop a flexible tourism management system. On the base of the analysis of the current tourism web sites, complied with the process of OOD, a three-layer system is designed, consisted of client based on web browser, server based on JSP and Servlet and data source based on relational database. We finish the design of the JSP pages, the core response to request from user and the synchronous update of the database, and develop a tourism management system to implement the design. The system can implement these functions as following: classified route information query for tourist, route reservation information for administrator, online shopping and purchase, and administrator can add, query, modify or delete the traffic¡¢route and goods information. This system is stable, reliable and quite simple in operation .The maintenance is also convenient.
Key word: Travel information; Privilege; Database
Ŀ ¼
ÂÛÎÄ×ÜÒ³Êý£º27Ò³
1 ÒýÑÔ 1
1.1 ÂÃÓιÜÀíϵͳµÄ·¢Õ¹ 1
1.2 ÂÃÓιÜÀíϵͳµÄÏÖ×´ 1
1.3 ¸ÃϵͳµÄÖ÷ÒªÑо¿ÄÚÈÝ 1
2ϵͳ¿ª·¢µÄ¹Ø¼ü¼¼Êõ 1
2.1 JAVAÓïÑÔ 1
2.2 JSP¼¼Êõ 2
2.3 JavaBeans¼¼Êõ 3
2.4 JavaScript¼¼Êõ 3
2.5 JDBC¼¼Êõ 4
2.5.1 JDBCÊý¾Ý·ÃÎÊ½Ó¿Ú 4
2.5.2 JDBCµÄÌåϵ½á¹¹ 4
2.5.3JDBC·ÃÎʺǫ́Êý¾Ý¿âµÄ¼¼ÊõʵÏÖ·½·¨ 5
2.6 ¿ª·¢¹¤¾ßÑ¡Ôñ 5
3ÂÃÓιÜÀíϵͳÐèÇó·ÖÎö 6
3.1 ϵͳÐèÇó·ÖÎö 7
3.1.1 Óο͹¦ÄÜÐèÇó 7
3.1.2 ¹ºÎﳵģ¿é 7
3.1.3 ½»Í¨¹ÜÀí 7
3.1.4 ÂÃÐÐÉç¹ÜÀí 7
3.2 ϵͳÐÔÄÜÖ¸±ê 7
4ÂÃÓιÜÀíϵͳ·ÖÎöÉè¼ÆÓëʵÏÖ 8
4.1 ÂÃÓιÜÀíϵͳÉè¼Æ×ÜÌåÒªÇó 8
4.2 Êý¾Ý¿âÉè¼Æ 9
4.3 ϵͳ¹¦ÄÜÉè¼Æ 12
4.3.1 Ö÷Ò³¹¦ÄÜÉè¼Æ 12
4.3.2 Óο͹¦ÄÜÉè¼Æ 13
4.3.3 ϵͳ¹ÜÀíÔ±¹¦ÄÜÉè¼Æ 13
4.3.4 ÂÃÐÐÉç¹ÜÀí¹¦ÄÜÉè¼Æ 14
4.4 ¹Ø¼ü¼¼ÊõµÄʵÏÖ 14
4.4.1 ºº×ÖÏÔʾµÄʵÏÖ 14
4.4.2ÎļþÉÏ´«¹¦ÄܵÄʵÏÖ 16
4.4.3Ò³Ãæ¼ä²ÎÊý´«µÝµÄʵÏÖ 18
4.4.4Êý¾Ý¿âÁ¬½Ó¼¼Êõ 19
5ϵͳµÄʵÏÖ¼°¹Ø¼ü¼¼Êõ 21
5.1 ϵͳ»·¾³ÅäÖà 21
5.1.1ϵͳ¶ÔÓ²¼þ»·¾³µÄÒªÇó 21
5.1.2 ϵͳ¶ÔÈí¼þ»·¾³µÄÒªÇó 22
5.2 Ö÷Òª¹¦ÄÜÄ£¿éµÄʵÏÖ 22
5.2.1 ÂÃÓÎÏß· 22
5.2.2 ÐÂÎÅ·¢²¼¹¦ÄÜ 23
5.2.3 ·çÇéÄ£¿éÐÅÏ¢·¢²¼¹¦ÄÜ 23
5.2.4 ¹ºÎï³µ¹¦ÄÜ 23
5.2.5½»Í¨Æ±ÎñÔ¤¶¨¹¦ÄÜ 24
5.2.6ÂÃÐÐÉç¹ÜÀíÄ£¿é 24
×Ü ½á 24
²Î¿¼ÎÄÏ× 25
Ö л 26
Éù Ã÷ 27
1 ÒýÑÔ
1.1 ÂÃÓιÜÀíϵͳµÄ·¢Õ¹
ÖйúÂÃÓÎÍøÕ¾µÄ½¨ÉèʼÓÚ1996ÄꡣĿǰ£¬ÂÃÓÎÐÐÒµ¹ÜÀíµÄÍøÂ绯ÕýÔÚ¶ÔÎÒ¹úÂÃÓÎÊг¡¹ÌÓеÄÊг¡±ÚÀÝ´øÀ´¸ïÃüÐԵijå»÷£¬ÐµÄÊг¡¹Ø×¢µãÕýÔÚÓ¿ÏÖ¡£Ëæ×ÅÏÖ´ú¿Æ¼¼ºÍÐÅÏ¢²úÒµµÄ·¢Õ¹£¬»¥ÁªÍøµÄÐËÆð¸øÂÃÓÎÒµ´øÀ´ÁËеÄÆõ»ú£¬ÍøÂçµÄ¹Ø»¥ÐÔ¡¢ÊµÊ±ÐÔ¡¢·á¸»ÐԺͱã½ÝÐÔµÈÓÅÊÆ´Ùʹ´«Í³ÂÃÓÎҵѸËÙÈÚÈëÍøÂçÂÃÓεÄÀ˳±²»ÔÙÊÜʱ¼ä¡¢¿Õ¼äµÄÏÞÖÆ£¬ÂÃÓÎ×ÊÔ´µÄÓµÓÐÕß(È纽¿Õ¹«Ë¾¡¢±ö¹ÝµÈ)ºÍ×îÖÕµÄÂÃÓÎÏû·ÑÕßÖ®¼äÒ²Äܹ»½¨Á¢Æð¸üÖ±½ÓµÄ¹Øϵ¡£