编号 淮安信息职业技术学院毕业论文题 目基于 JSP 技术和 Ajax 技术实现的聊天室设计学生姓名王万爽学 号35011219院 系 计算机与通信工程学院专 业计算机应用技术班 级350112指导老师李刚顾问老师二〇一三年十月摘 要随着互联网的飞速进展,聊天室这种比较古老的沟通方式已经被众多人所认可。通过聊天室在线聊天已成为网络上人与人之间的沟通、沟通和联系的一种方式。为此,越来越多的网站开始提供在线的聊天功能。与此同时,聊天室也以其方便、快捷、低成本等优势受到众多企业的亲睐,很多企业的网站中也加入了聊天室,以达到增进企业与消费者、消费者与消费者之间的相互沟通和联系的目的。传统的互联网络聊天室,以显示在线用户和用户信息的实时传送,需要定期刷新页面。刷新页面,不仅要占用一定的系统资源和网络带宽,也会出现“白屏”现象,这对良好的用户体验是非常不利的。 Ajax 是一个新的 web 应用,使用 Ajax 技术的进展不仅解决了页面刷新带来的白屏问题,也减少了对服务器和网络传输的负载。我做的这个设计就是通过 JSP 和 Ajax 实现的无刷新聊天室。关键词:JSP;Ajax;网络聊天室;无刷新AbstractWith the rapid development of Internet, chat rooms that compare the old way of communication has been recognized by many people. By online chat chat room has become the Internet interpersonal communication, a way of communication and contact. Therefore, more and more websites started offering online chat. Chat rooms, meanwhile, also with its convenient, fast, low-cost advantages such as affected by many enterprises, many enterprise site has joined the chat room, in order to achieve between the enterprises and consumers, customers and consumers to communicate and contact purpose.Traditional Internet chat rooms in order to display online users and user messages sent in real time, the need to regularly refresh the page. Page refresh not only to take up some system resources and network bandwidth, but there is also a "black and white" phenomenon is very detrimental to a good user experi...