【正文】
......................................................10 SESSION 對象 .....................................................................................................................................11第三章 需求分析 .........................................................................................................................................13 需求分析 ......................................................................................................................................................13第四章 系統(tǒng)概要設(shè)計 ................................................................................................................................15 系統(tǒng)功能模塊圖 .........................................................................................................................................15 系統(tǒng)流程圖 .................................................................................................................................................17第五章 詳細設(shè)計 .........................................................................................................................................19 數(shù)據(jù)庫模塊設(shè)計 ................................................................................................................19 用戶登錄模塊設(shè)計 ....................................................................................................................................20 用戶注冊模塊設(shè)計 ....................................................................................................................................23 顯示在線用戶模塊設(shè)計 .........................................................................................................................26 用戶退出模塊設(shè)計 ....................................................................................................................................27第六章 系統(tǒng)的測試和維護 ..................................................................................................................29 系統(tǒng)調(diào)試與測試的作用和意義 ...........................................................................................................29 系統(tǒng)調(diào)試與測試的目的和原則 ...........................................................................................................29 系統(tǒng)的調(diào)試 .................................................................................................................................................29 在線聊天室測試 ........................................................................................................................................29結(jié) 束 語 ...............................................................................................................................................................33謝 辭 ........................................................................................................................................................................35參考文獻 ...............................................................................................................................................................37第一章 緒論 設(shè)計的研究意義21 世紀是信息社會的時代,科學(xué)和技術(shù)和社會的發(fā)展正在迎接這時代的到來,當(dāng)前信息網(wǎng)絡(luò)得到飛速的發(fā)展,尤其是計算機和通信技術(shù)的發(fā)展和結(jié)合,改變了人民的生活、學(xué)習(xí)和工作方式,減輕工作的負擔(dān),提高生活水平,推動社會的進步。 Session。t have to update the whole window can show new data obtained. As long as the transfer of the back and forth an XML format data in the browser, operates the JavaScript code can to contact a web server. JavaScript code can also add to the style sheet to retrieve data, and then in the existing web chat show area to show the content. The system USES Struts, JSP as development tools, the backend database using SQL server 2022 database design, use the ODBC database access based on JDBC database technology to achieve various management operation, realize user login the verification of the function, the function and user chat show chat online user information etc. Function. Key words: Ajax。t need any custom client, need only through the visit the URL is designated can log in chat rooms and other online users to municate. This system mainly has the user registration, user login validation, users online shows, the user data to check and modification, realtime chat etc. Function. To realize realtime display in chat function as the content, using Ajax technology. With AJAX asynchronous mode of, the browser will don39。本系統(tǒng)采用 Struts、JSP 作為開發(fā)工具,后臺數(shù)據(jù)庫采用 sql server 2022 數(shù)據(jù)庫設(shè)計,利用基于 JDBC 的 ODBC 數(shù)據(jù)庫訪問技術(shù)實現(xiàn)對數(shù)據(jù)庫的各種管理操作,實現(xiàn)用戶登錄驗證的功能、用戶聊天的功能和顯示在線聊天用戶信息等功能。只要來回傳送采用 XML 格式的數(shù)據(jù),在瀏覽器里面運行的 JavaScript 代碼就可以與服務(wù)器進行聯(lián)系。在實現(xiàn)實時顯示聊天內(nèi)容功能時,運用了 Ajax 技術(shù)。畢業(yè)設(shè)計(論文)題目 聊天工具設(shè)計與實現(xiàn) 聊天工具設(shè)計與實現(xiàn)Design and implementation of chat摘 要越來越多的人開始通過網(wǎng)絡(luò)進行及時的溝通和交流,聊天室應(yīng)用系統(tǒng)是一個比較好的人們進行實時交互的工具,而最常用的就是完全基于 WWW 的方式,用戶不需要任何定制的客戶端,只需要通過訪問指定的 URL 就可以登入聊天室和其他在線的用戶進行溝通。本系統(tǒng)主要具有用戶注冊、用戶登錄驗證、用戶在線顯示,用戶資料查看與修改、實時聊天等功能。使用 AJAX 的異步模式,瀏覽器就不必等用戶請求操作,也不必更新整個窗口就可以顯示新獲取的數(shù)據(jù)。JavaScript 代碼還可以把樣式表加到檢索到的數(shù)據(jù)上,然后在現(xiàn)有網(wǎng)頁的聊天內(nèi)容顯示區(qū)加以顯示。關(guān)鍵詞: 聊天室 JDBC Ajax Application Session AbstractMore and more people begin to through the work to municate and exchange, chat application system is a good people in real time, and the interactive tool is the most monly used is pletely based on WWW way, users don39。t need to wait for users request operation, also don39。 Application。 JDBC。當(dāng)前電子商務(wù)、ERP、WAP 等技術(shù)正深深的影響著我們。其中,在線交流提供了客服與用戶及用戶間直接對話的平臺。對于傳統(tǒng) C/S 結(jié)構(gòu)的在線聊天系統(tǒng),需要用戶安裝客戶端軟件,對于一次性訪問或者需要在短時間內(nèi)獲取信息的用戶來說,這種等待是無法忍耐的。B/S 結(jié)構(gòu)與其不同,它不需要安裝任何軟件,直接使用瀏覽器即可,因為它輕盈、便捷的優(yōu)勢,得到了更多用戶的偏好