當前位置:學問君>學習教育>畢業論文>

基於JSP的共享資源發佈站點JSP+SQL

學問君 人氣:4.12K
畢業論文

基於JSP的共享資源發佈站點的設計
 

基於JSP的共享資源發佈站點JSP+SQL

摘要:儘管互聯網出現的時間並不算長,但它卻以驚人的速度在發展。以至於它對人類的活動的影響也越來越深,甚至可以說任何人都將無法離開它。與此同時,Netscape和Sun公司開發的Internet產品:瀏覽器和Java,將1個前所未有的、全新的'Web天地呈現在我們面前。世界上無數企業出於競爭、減少成本和進1步提高生產效率的目的與互聯網相連,利用它進行電子商業操作,實現電子商業功能,如:互聯網廣告、電子化貿易等。在這些類似的商務網站中,JSP技術被廣泛應用。
本文便是描述1個簡單的基於JSP + Tomcat + Microsoft SQL Server 2000的共享資源發佈站點的設計過程,所描述的主要內容包括:JSP相關技術及與數據庫連接的技術;系統設計執行環境的配置過程;整個系統的功能和檔案結構設計;整個設計過程,包括部分代碼的具體描述。
關鍵詞:JSP;Tomcat;Microsoft SQL Server 2000;JDBC


Design of A Publish WEB Site of Shared Resource Based on JSP
 

Abstract:Although It is not a long time that the Internet came to use, but it actually is developing by the astonishing speed. It influences humanitys activity more and more deeply , even may say any one all will be unable to do without it. At the same time, Netscape and Sun Corporation developed Internet products: The browser and ecedented, the brand-new Web world presents in front of us. The innumerable enterprises consider needs of the competition and, the reduced cost and further enhanceing the production efficiency , have connected to the  Internet,using it to carry on the commercial operation, for example: Advertisement, trade and so on. In these similar commercial websites, the JSP technology is widely applied.
This article described a simple WEB station based on JSP + Tomcat +Microsoft SQL the Server 2000 publish web site of shared resource. The main issues discussed are as follows: the first ,an introducation to the JSP correlation technology and with the database connection technology; the second, system design movement environment configuration process; the third, system functiones and file organization design; the last, system design process, including partial codes .
Key word:  JSP;Tomcat; Microsoft SQL Server 2000;JDBC


目  錄
前言 4
1 相關知識 5
1.1 Web應用程序 5
1.2 HTTP和Servlet基礎 6
1.3 JSP技術簡介 8
1.4 JSP訪問數據庫編程 10
1.5 開發工具和平臺介紹 11
1.6 執行環境配置 13
2網站結構設計 15
2.1 目標設計 15
2.2 系統功能分析與設計 16
3 需求分析 17
3.1 可行性分析 17
3.1.1 技術可行性 17
3.1.2 經濟可行性 18
3.1.3 執行可行性 18
3.2 數據庫需求分析 18
3.3 數據庫概念結構設計 18
3.4 數據庫邏輯設計 20
3.5 系統檔案結構設計 22
3.6數據庫的生成和連接 22
3.6.1 數據庫的生成 22
3.6.2 數據庫的連接 22
4 系統詳細設計 24
4.1共享資源顯示模組 24
4.2 共享資源搜尋模組 28
4.3 共享資源欄目管理模組 31
4.4 共享資源管理模組 38
4.5 設計中的問題與解決 43
4.5.1 無法連接數據庫 43
4.5.2 無法正常向數據庫插入數據 43
4.5.3 中文顯示亂碼 43
5系統的測試與維護 44
5.1 系統的測試 44
5.2 系統的維護 44
結束語 45
參考文獻 46
致謝 47

前言
本設計中的共享資源發佈系統將分爲前臺用戶介面和後臺管理員頁面。管理員登陸頁面用於身份驗證;後臺的數據庫操作頁面是提供1個對數據庫資訊進行調整的人性化的友好介面。管理員在登陸後可以對發佈的共享資源進行查詢、添加和修改。前臺用戶頁面將展示發佈的共享資源的分類、搜尋和下載排名等。它的設計目的是爲了讓下載用戶可以更好的瞭解發佈的共享資源,才能保證共享資源在網絡上發佈時能夠吸引用戶的眼球。需要說明的是,所有共享資源的發佈將是基於某1個網站而發佈的,並非是我們現在所設計的演示頁面這麼簡單。
全文中將具體介紹設計的相關技術,描述對系統的需求分析,闡述系統設計思路和功能劃分,詳細說明各個頁面與功能模組的具體設計過程以及給出測試結果等。