基于Web的聊天室构建

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

本科毕业设计(论文)

题目基于Web的聊天室构建

系(院)计算机工程系

专业电子信息科学与技术

班级081

学号

学生姓名

指导教师

摘要

聊天室是Web站点提供的常用服务之一,它给网络用户带来了在线实时交流的机会,而且使用起来不需要安装专门的聊天软件,只需要浏览器即可。Web聊天室系统由于其方便、灵活和易于使用的特点而广受欢迎。

本文论述了开发一个简单的Web在线聊天室系统所用到的关键技术和方法。其中运用了 JavaScript、MySQL数据库等等, 对上述技术的实现方法进行了详细的讨论,B/S模式等,实现了一个简单的Web在线聊天室系统的设计与开发,并详细讨论了该系统的实现过程及其结构。

关键字:聊天室,数据库,B/S模式

Abstract

ChatRoom is one of ordinary services of the website. It gives users the opportunity to communicate on the network every time.And it only depends on web browser, so you don't have to install any special software on your computer. ChatRoom are widely welcomed for its wonderful feathers such as conveninence and flexibility and easy usability.

This thesis introduces the critical technology and method to build a simple ChatRoom, such as JavaScript、Oracle DataBase and so on. To the technology mentioned above there are many detailed descriptions in this thesis. Also this thesis gives detailed description to the B/S model and the process to design and build a simple online ChatRoom.

Key Words: ChatRoom,DataBase,B/S mode

前言............................................................................................................................................ - 1 - 第一章主要技术.......................................................................................................................... - 3 -

1.1 JSP服务器技术........................................................................................................... - 3 -

1.2 JavaBean技术............................................................................................................. - 4 -

1.3 Servlet技术............................................................................................................... - 5 -

1.4 Eclipse开发工具....................................................................................................... - 6 -

1.5 Tomcat应用服务器技术............................................................................................. - 8 -

1.6 MySQL数据库............................................................................................................... - 8 -

1.7 Dreamweaver网页开发工具....................................................................................... - 9 - 第二章系统设计........................................................................................................................ - 11 -

2.1系统功能..................................................................................................................... - 11 -

2.2系统总体设计............................................................................................................. - 11 -

2.3系统数据库设计......................................................................................................... - 17 - 第三章功能测试........................................................................................................................ - 18 -

3.1用户注册..................................................................................................................... - 18 -

3.2用户登录..................................................................................................................... - 20 -

3.3用户选择聊天房间功能............................................................................................. - 22 -

3.4用户聊天功能............................................................................................................. - 23 -

3.4.1显示功能................................................................................................................. - 23 -

3.4.2用户信息修改功能................................................................................................. - 24 -

3.4.3处理功能................................................................................................................. - 24 -

3.4.4输入功能................................................................................................................. - 26 -

3.5一些问题的解决方案................................................................................................. - 27 -

3.5.1边框处理(HTML中的问题)................................................................................ - 27 -

3.5.2登录页面中的验证码问题..................................................................................... - 27 -

3.5.3其他问题................................................................................................................. - 28 - 结论........................................................................................................................................ - 29 - 致谢................................................................................................................错误!未定义书签。参考文献.................................................................................................................................... - 30 -

相关文档
最新文档