Õª Òª
Ëæ׿ÆËã»ú¼¼ÊõµÄ·ÉËÙ·¢Õ¹£¬Ñ§Ð£Ò²ÒѽøÈëÐÅÏ¢»¯Ê±´ú¡£ÎªÁË·½±ã´óѧµÄѧÉú¹ÜÀíÒÔ¼°Ñ§Éú½øÐл¥¶¯½»Á÷£¬¾ö¶¨¿ª·¢²ÉÓÃMVCģʽ£¬»ùÓÚJSPµÄľÀ¼Ïظ߼¶ÖÐѧУ԰ÂÛ̳ϵͳ£¬Êý¾Ý¿âʹÓÃSQL Server£¬ÔÚϵͳÉè¼Æ¹ý³ÌÖУ¬¾¡Á¿²ÉÓÃÒ׶®Ò׶ÁµÄÈË»ú½çÃ棬ʹÓû§¿ÉÒÔÔÚ¶ÌÆÚÄÚÍêÈ«ÕÆÎÕ¡£Èí¼þ¿ª·¢¹ý³ÌÖÐʼÖÕ°ÑϵͳµÄÕýÈ·ÐÔ·ÅÔÚÊ×룬Á¦ÇóÊý¾ÝµÄÍêÕûºÍ´¦ÀíµÄÕýÈ·ÐÔ¡£ÔÚ´Ë»ù´¡ÉÏÓÅ»¯³ÌÐò´úÂ룬¼ÓËÙϵͳÔËÐкͼõÉÙ¶Ôϵͳ×ÊÔ´µÄÕ¼Óá£
ÂÛÎÄÀï˵Ã÷ÁËľÀ¼Ïظ߼¶ÖÐѧУ԰ÂÛ̳ϵͳµÄ×ÜÌåÉè¼Æ·½°¸£¬°üÀ¨ÁËϵͳÔËÓõĹؼü¼¼Êõ£¬Êý¾Ý¿âÉè¼Æ£¬¶Ô¸÷¸ö¹¦ÄÜÄ£¿éµÄÏêϸÉè¼ÆÒÔ¼°ÊµÏÖ£¬±¾ÏµÍ³ÊµÏÖÁË×¢²á»áÔ±£¬»áÔ±µÇ¼£¬µÇ¼ºó¿ÉÒÔä¯ÀÀ¸ö¸öÄ£¿éÄÚÌû×Ó£¬¿ÉÒÔ·¢Ìû»ØÌû£¬²é¿´°ßÖñ¡¢·¢ÌûÈËÐÅÏ¢£¬¹ÜÀíÔ±¾ßÓиü¸ÄÓû§È¨ÏÞ£¬É¾³ýÓû§£¬¹ÜÀí°å¿é£¬Äܹ»Ôö¼Ó¡¢É¾³ý¡¢Ð޸İå¿éÐÅÏ¢£¬¸ºÔðÌû×ÓµÄÖö¥¾«»ª¹ÜÀí¡£
¹Ø¼ü´Ê£ºÐ£Ô°ÂÛ̳;MVC;JSP£»SQL Server
ABSTRACT
Along with the rapid development of computer technology, the school also has entered the information age. In order to facilitate the management of university students and students interact, decided to develop the MVC pattern, the senior high school MuLanXian based on JSP campus BBS system, database using SQL Server, in system design process, make use of the man-machine interface simple and easy to read, users can fully mastered in the short term. Software development process always put the correctness of the system in the first place, strive to the integrity of the data and processing accuracy. Based on this optimization program code, accelerate system operation and reduce on the system resources of the occupation.
Thesis illustrates MuLanXian senior high school campus BBS system overall design scheme of the system, including the use of key technologies, database design of each functional modules, detailed design and implementation, this system realizes the registered members, members login, log on can browse each module post Posting replies, check, can l, post, administrators who have change user information permissions, delete a user, management plate, can add, delete, modify plate information, be responsible for the management of posts set-top essence.
Keywords: campus BBS; MVC; The JSP; SQL Server
Ŀ ¼
µÚÒ»Õ ¸ÅÊö 4
1.1¿ª·¢±³¾° 4
1.2 Ïà¹Ø¼¼Êõ¼ò½é 4
1.2.1 JavaBeans¼¼Êõ¼ò½é 5
1.2.2 JSP¼¼Êõ¼ò½é 5
1.2.3 SQL ServerÊý¾Ý¿â¼ò½é 6
1.2.4 MyEclipse¼ò½é 7
1.3 ¿ª·¢Ä£Ê½½éÉÜ 7
1.4·þÎñÆ÷ÅäÖà 8
1.4.1 JDKµÄ°²×°ºÍÅäÖà 8
1.4.2 TOMcatµÄ°²×°ºÍÅäÖà 9
µÚ¶þÕ ϵͳÐèÇó·ÖÎö 10
2.3 ¿ª·¢»·¾³ 11
2.3.1 Ó²¼þ»·¾³ 11
2.3.2 Èí¼þ»·¾³ 11
µÚÈýÕ ×ÜÌåÉè¼Æ 12
3.1 ¹¦ÄܽṹÉè¼Æ 12
3.2 ¹¦ÄÜÄ£¿é½éÉÜ 13
µÚËÄÕ Êý¾Ý¿âÉè¼Æ 17
4.1 Êý¾Ý¿âµÄ°²×° 17
4.2 Êý¾Ý¿â¸ÅÄî½á¹¹Éè¼Æ 18
4.3 Êý¾Ý¿âÂß¼½á¹¹Éè¼Æ 19
4.4 Êý¾Ý¿âµÄÁ¬½Ó 21
µÚÎåÕ ¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 22
5.1 Ö÷Ò³Ãæ 22
5.2Óû§µÇ¼ע²áÄ£¿éÉè¼Æ 22
5.2.1Óû§µÇ¼ 22
5.2.2Óû§×¢²á 23
5.3 Ìû×ÓÏà¹Ø½çÃæ 24
5.3.1·¢ÐÂÌû×Ó 24
5.3.2ä¯ÀÀÌû×Ó 26
5.3.3Ìû×ÓÁбí 28
5.4 ÐÂÎÅÄ£¿é 28
µÚÁùÕ ºǫ́¹ÜÀíÄ£¿éʵÏÖ 30
6.1ºǫ́¹ÜÀí 30
6.1.1¹ÜÀíÔ±µÇ½ģ¿é 30
6.2 ÂÛ̳¹ÜÀí 30
6.2.1Ìí¼ÓÂÛ̳·ÖÀà 31
6.2.2 ɾ³ýÂÛ̳·ÖÀà 32
6.2.3 ±à¼ÂÛ̳ 32
6.3 Óû§¹ÜÀí 32
6.4 ÐÂÎŹÜÀí 33
½á Êø Óï 34
²Î¿¼ÎÄÏ× 35
µÚÒ»Õ ¸ÅÊö
1.1¿ª·¢±³¾°
ÔÚ»¥ÁªÍø¼¼Êõ¸ßËÙ·¢Õ¹µÄÍƶ¯Ï£¬»¥ÁªÍø¿çÈëÁËÐéÄâÉçÇøʱ´ú¡£¸ù¾Ý2010Äê1Ô¡¶µÚ25´ÎÖйú»¥ÁªÍø·¢Õ¹×´¿öͳ¼Æ±¨¸æ¡·£¬ÎÒ¹úÉÏÍøµÄ3.84ÒÚÈËÖÐÓÐ38.8%ʹÓÃÂÛ̳¡¢BBSµÈ¸÷ÖÖÐÎʽµÄÐéÄâÉçÇø£¬Óû§¹æÄ£´ïµ½9822ÍòÈË£¬ÔÚÍøÂçÓ¦ÓÃÖÐÅÅÃûµÚ¾Å£¬ÒѾõÒÉíÊ®´óÍøÂçÓ¦ÓÃÖ®ÁС£Ð£Ô°ÂÛ̳ϵͳ·¢Õ¹ÊÆÍ··Ç³£Ñ¸ÃÍ¡£
ÂÛ̳Êǵç×Ó¹«¸æ°åϵͳ(Bulletin Board System)£¬Ëüͨ¹ýÔÚ¼ÆËã»úÉÏÔËÐзþÎñÈí¼þ£¬ÔÊÐíÓû§Ê¹ÓÃÖն˳ÌÐòͨ¹ýµç»°µ÷Öƽâµ÷Æ÷²¦ºÅ»òÕßInternetÀ´½øÐÐÁ¬½Ó£¬Ö´ÐÐÏÂÔØÊý¾Ý»ò³ÌÐò¡¢ÉÏ´«Êý¾Ý¡¢ÔĶÁÐÂÎÅ¡¢ÓëÆäËüÓû§½»»»ÏûÏ¢µÈ¹¦ÄÜ¡£ÂÛ̳ϵͳ¿ª·¢¼¼Êõ·¢Õ¹ÖÁ½ñ£¬´ÓCGI£¬ASP,µ½PHPÒѾÈÕÇ÷³ÉÊ죬¹¦ÄÜÒ²¸ü¼Ó·á¸»£¬µ«Ð¯×ÅSun¹«Ë¾µÄJava¼¼ÊõËùʵÏֵġ°Ò»´Î±àд£¬µ½´¦ÔËÐС±µÄÓÅÊÆ£¬¼Ì³ÐÕâÒ»Ò²§µÄJSP¼¼ÊõÔ½À´Ô½Êܵ½ÈËÃǵÄ×¢ÊÓ¡£ÎªÁ˽øÐиüºÃµÄ½»Á÷¡£