JSP课程设计在线聊天系统指导老师:冯晓辉班级:网络0801学号:20083782姓名:任宇晖日期:2010.1.8[键入文字]在线聊天系统开发设计小组成员:胡斐,徐通,王保军,任宇晖,许亚飞,许昆贤,周煜,赵璇,李庆国,乐峰主要内容及拟解决的问题:四大模块的建立,数据库的读写,聊天模块的调试,以及一些代码的调等。课程实际要求:网络聊天工具大多数由服务器程序和客户端程序组成。主要有两种类型,一种是类似QQ,MSN类型的,需要用户安装软件才能聊天,另一种即是只需打开WEB浏览器就可以聊天的,类似QQ聊天室的功能,本系统的目标即模仿QQ聊天室,开发一个简单的能在机房里供大家聊天的Web程序。摘要随着计算机技术飞速发展的今天,随着Internet的普及和发展,人们的生活和工作也越来越离不开信息网络的支持,而聊天室是人们最常见,最直接的网上交流的方式。本网站以网络交友为主,为广大用户提供一个借助网络进行人际交往的平台,也是网络与现实最贴近的实用型平台。本文所介绍的网络聊天系统是基于开放的web服务器应用程序开发设计的,其主要特性是能动态完成信息的传递,且具有高效的交互性,更有效的处理客户请求,且具有更简单,更方便的数据库访问方法,易于维护和更新.针对以上方案,本系统采用Html、JavaScript等语言开发网站页面,用JSP、Java的技术实现动态设计,采用现在很经典frame框架,用MySQL作为系统数据库。JSP是当前网络编程的主流语言,在现代企事业单位的网络应用程序的开发中起到了重要作用。本系统是根据实际的需求而设计,通过用户ID密码的论证解决方案,对实际应用领域进行深入的调查分析,已经基本[键入文字]上成功地实现了设计要求,实现了语音,视频聊天等。关键字聊天室;JSP;Java;frame;Cookie;ApplicationAbstractWiththerapiddevelopmentofcomputertechnologytoday,withtheInternet'spopularityanddevelopmentofpeople'slifeandworkareincreasinglyinseparablefromthesupportoftheinformationnetwork,whilethechatroomwasthemostcommonandmostdirectwayofonlinecommunication.Thissitewebdatingmainlyprovidecustomerswithanetworkofinterpersonalrelationshipswiththeplatform,butalsonetworkandthepracticalrealityismostclosetotheplatform.Thispaperdescribedanetworkchatsystemisbasedonanopenwebserverapplicationdevelopmentanddesign,anditsmainfeatureisdynamicallycompletethetransmissionofmessagesandhasahighlyefficientinteractive,moreeffectivehandlingofcustomerrequests,andhasasimplerandmoreeasydatabaseaccessmethods,easytomaintainandupdate.viewoftheaboveprogram,thesystemusesHtml,JavaScriptandotherlanguagedevelopmentwebsitepages,usingJSP,Javadynamicdesignofthetechnology,usingtheframeworkisnowveryclassicframe,usingMySQLasadatabase.JSPisthecurrentmainstreamnetworkprogramminglanguage,inthemodernenterprisesinthedevelopmentofwebapplicationsplayanimportantrole.Thissystemisbasedontheactualneedsofthedesign,byuserIDpasswordargumentsolutiontothepracticalapplicationofthefieldofin-depthinvestigationandanalysis,haslargelysucceededinachievingthedesignrequirementstoachieveavoiceandvideochat.Keywords:Chatroom;JSP;Java;frame;Cookie;Application[键入文字]目录JSP课程设计.........................................................................................................1在线聊天系统................................................................................................1摘要......................................................................................................................2关键字....................................................................................................................3第一章、绪论......................................................................................................51.1选题的背景.............................................................................................51.2选题的目的和意义................................................................................51.3可行性分析............................................................................................5第二章、需求分析................................................................................................62.1系统名称.................................................................................................62.2任务概述.................................................................................................62.3设计目的.................................................................................................62.4系统功能.................................................................................................62.5详细功能.................................................................................................7第三章、总体设计................................................................................................73.2.1DB设计..........................................................................................83.3整体布局.................................................................................................9第四章、界面设计................................................................................................9第五章、源代码..................................................................................................125.1.开发环境...............................................................................................125.1sms.jsp............................................................................................125.2sms.jsp............................................................................................135.3sms_add.jsp....................................................................................17第六章、设计心得..............................................................................................21第七章、致谢................................................................................................22第八章、参考文献..........................................................................................22[键入文字]第一章、绪论1.1选题的背景繁忙的工作使人们没有时间去跟远方的亲戚朋友相聚,昂贵的电话费使我们不能聊的尽兴,因此网络聊天诞生了,并且成为了时下极为流行的一种沟通方式,特别是在现代高新的技术推动下,在线聊天呈现出良好的势头和广阔的前景。人们只需要有一台电脑,连上网就可以聊天了。在聊天室里,你可以尽情的跟朋友聊天,共同讨论问题,不用担心会花