jsp實現(xiàn)的論壇程序.rar
jsp實現(xiàn)的論壇程序,jsp實現(xiàn)的論壇程序6.1萬字 79頁摘 要web技術(shù)與數(shù)據(jù)庫相結(jié)合在互連網(wǎng)上的應(yīng)用,是當(dāng)今網(wǎng)絡(luò)技術(shù)核心發(fā)展方向之一。本文對數(shù)據(jù)庫系統(tǒng)進行了簡要的介紹,而且面向數(shù)據(jù)庫與web技術(shù)的結(jié)合以及現(xiàn)行比較流行的web數(shù)據(jù)庫實現(xiàn)技術(shù)進行了描述和分析。也對web數(shù)據(jù)庫訪問具體實現(xiàn)方法進行了較詳細的描述,主要描述了實現(xiàn)訪問所需的軟硬...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會員 littey 發(fā)布
JSP實現(xiàn)的論壇程序
6.1萬字 79頁
摘 要
Web技術(shù)與數(shù)據(jù)庫相結(jié)合在互連網(wǎng)上的應(yīng)用,是當(dāng)今網(wǎng)絡(luò)技術(shù)核心發(fā)展方向之一。本文對數(shù)據(jù)庫系統(tǒng)進行了簡要的介紹,而且面向數(shù)據(jù)庫與Web技術(shù)的結(jié)合以及現(xiàn)行比較流行的Web數(shù)據(jù)庫實現(xiàn)技術(shù)進行了描述和分析。也對Web數(shù)據(jù)庫訪問具體實現(xiàn)方法進行了較詳細的描述,主要描述了實現(xiàn)訪問所需的軟硬件平臺、數(shù)據(jù)庫連接,最后選擇了WIN 98+JSP+MS SQL Server 2000進行了具體實現(xiàn)。
Web數(shù)據(jù)庫采用B/S三層體系結(jié)構(gòu),前端采用基于瘦客戶機的瀏覽器技術(shù),通過Web服務(wù)器及中間件訪問數(shù)據(jù)庫,SQL數(shù)據(jù)庫應(yīng)用在此比較適合。
在實現(xiàn)Web數(shù)據(jù)庫的過程中,如何選擇硬件、軟件平臺和Internet連接及通信硬件是每個開發(fā)者必須面對和考慮的問題,本文就如何選擇合適操作平臺、數(shù)據(jù)庫以及服務(wù)器軟件做了較全面的闡述,給出比較成型的選擇方案。然后又對數(shù)據(jù)庫和服務(wù)器的應(yīng)用配置深入淺出的詳細講解,力求完整、完美的展現(xiàn)出JSP平臺,使大家對其產(chǎn)生全面的了解。
本文最后在WIN 98平臺上用JSP+MS SQL Server 2000實現(xiàn)了一個論壇程序,實現(xiàn)了由Web訪問數(shù)據(jù)庫的基本功能。
關(guān)鍵詞:Web數(shù)據(jù)庫;JSP;SQL;連接技術(shù)
Abstract
The applications that technology and database technology are combined on net is core development direction of network technique nowdays. The text simply introduces database manage systems. Mostly introducing to the combining between database technology and Web technology, expounding and analyzing to web database technology. It more detailed expound that provide achieve means of Web database visiting. The text mostly tell of hardware platform, Internet connecting and communications hardware platform and software platform in realizing visitation. Finally choosing WIN 98+JSP+MS SQL Server 2000 to provide carry out.
Web database technology adopt B/S three floors, former adopts browser ware technology base on client machine, it adopts Web server and midst device to visit database. SQL database is suitability.
On course of achieving Web database, it is took into account problem that how to select hardware platform , software plat roof and Internet connect and correspondence hardware in the text. It is a more successful project. Then it is a more detailed elucidation about of database and server. So we can show JSP platform perfect.
Finally using JSP+MS SQL Server 2000 to carry out a forum program on Windows flat roof. It realizes that basic function of Web visiting to database.
Key words:Web database;JSP;SQL;connect technology
目 錄
引 言 V
第1章 Java語言與JSP簡介 2
1.1 Java語言 2
1.1.1 Java語言簡介 2
1.1.2 Java語言的基本特點 3
1.2 JSP簡介 4
1.2.1 JSP簡介 4
1.2.2 JSP的特點 4
1.2.3 JSP有關(guān)技術(shù)細節(jié) 5
1.2.4 JSP的開發(fā)歷程 6
第2章 Web數(shù)據(jù)庫實現(xiàn)技術(shù)及其比較 7
2.1 CGI 7
2.2 SAPI 7
2.3 ASP 8
2.4 PHP 9
2.5 JSP 9
2.6 它們之間的比較 10
2.7 Web數(shù)據(jù)庫的模式 11
2.8 比較圖表 12
第3章 JSP語法 13
3.1 語法簡介 13
3.2 標(biāo)準(zhǔn)語法 14
3.2.1 基本語句 14
3.2.2 指令 15
3.3 流程控制 16
第4章 數(shù)據(jù)庫系統(tǒng) 19
4.1 數(shù)據(jù)庫系統(tǒng)簡介 19
4.2 常用數(shù)據(jù)庫比較 20
4.2.1 SQL Server 20
4.2.2 Oracle 21
4.2.3 DB2 21
4.3 SQL基本命令 21
第5章 技術(shù)實現(xiàn) 23
5.1 服務(wù)器的選擇 23
5.1.1 WIN 2000/NT 23
5.1.2 Linux 23
5.1.3 WIN 98 24
5.2 服務(wù)器軟件的選擇 25
5.2.1 Jrun 25
5.2.2 Web Logic 26
5.2.3 Web Sphere 26
5.2.4 Tomcat 與 Resin 27
5.3 數(shù)據(jù)庫的選擇 28
5.4 軟件的配置 29
5.4.1 JDK 29
5.4.2 Jrun 29
5.4.3 Resin 31
5.4.4 MS SQL Server 2000 33
5.5 數(shù)據(jù)庫與JSP的連接 38
第6章 論壇分析 39
6.1 基礎(chǔ)分析 39
6.2 總體設(shè)計 39
6.3 詳細設(shè)計 40
6.3.1 主界面 40
6.3.2 注冊信息 40
6.3.3 用戶信息維護 41
6.3.4 信息發(fā)布 42
6.3.5 管理者維護 42
第7章 結(jié) 論 44
參考文獻 45
致 謝 46
附 錄 1 47
附 錄 2 64
參考文獻
[1] [美]Steven Holzner等著.Java 2技術(shù)內(nèi)幕.北京:中國水利水電出版社,2002.3
[2] [德]Marko Bioger等著.Java與分布式系統(tǒng).北京:機械工業(yè)出版社,2003.5
附 錄 1
論壇主要源程序
⑴main.jsp
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="com.laoer.bbscs.sysinfo.*"%>
......
附 錄 2
J2EE
With the release of the Java 2 Platform, Enterprise Edition v. 1.4 Software Development Kit (J2EE 1.4 SDK), web services becomes a standard feature of the J2EE platform. Java web services, with its support for SOAP, WSDL, and WS-I Basic Profile, are now integrated with servlets, JSP pages, and enterprise beans. Developers new to web services can leverage their existing knowledge of J2EE, and developers familiar with Java web services can reuse the same APIs in a more standard way. With these opportunities come new choices and new design decisions that need to be made: What is the most appropriate way to implement a web service client? What is ......
6.1萬字 79頁
摘 要
Web技術(shù)與數(shù)據(jù)庫相結(jié)合在互連網(wǎng)上的應(yīng)用,是當(dāng)今網(wǎng)絡(luò)技術(shù)核心發(fā)展方向之一。本文對數(shù)據(jù)庫系統(tǒng)進行了簡要的介紹,而且面向數(shù)據(jù)庫與Web技術(shù)的結(jié)合以及現(xiàn)行比較流行的Web數(shù)據(jù)庫實現(xiàn)技術(shù)進行了描述和分析。也對Web數(shù)據(jù)庫訪問具體實現(xiàn)方法進行了較詳細的描述,主要描述了實現(xiàn)訪問所需的軟硬件平臺、數(shù)據(jù)庫連接,最后選擇了WIN 98+JSP+MS SQL Server 2000進行了具體實現(xiàn)。
Web數(shù)據(jù)庫采用B/S三層體系結(jié)構(gòu),前端采用基于瘦客戶機的瀏覽器技術(shù),通過Web服務(wù)器及中間件訪問數(shù)據(jù)庫,SQL數(shù)據(jù)庫應(yīng)用在此比較適合。
在實現(xiàn)Web數(shù)據(jù)庫的過程中,如何選擇硬件、軟件平臺和Internet連接及通信硬件是每個開發(fā)者必須面對和考慮的問題,本文就如何選擇合適操作平臺、數(shù)據(jù)庫以及服務(wù)器軟件做了較全面的闡述,給出比較成型的選擇方案。然后又對數(shù)據(jù)庫和服務(wù)器的應(yīng)用配置深入淺出的詳細講解,力求完整、完美的展現(xiàn)出JSP平臺,使大家對其產(chǎn)生全面的了解。
本文最后在WIN 98平臺上用JSP+MS SQL Server 2000實現(xiàn)了一個論壇程序,實現(xiàn)了由Web訪問數(shù)據(jù)庫的基本功能。
關(guān)鍵詞:Web數(shù)據(jù)庫;JSP;SQL;連接技術(shù)
Abstract
The applications that technology and database technology are combined on net is core development direction of network technique nowdays. The text simply introduces database manage systems. Mostly introducing to the combining between database technology and Web technology, expounding and analyzing to web database technology. It more detailed expound that provide achieve means of Web database visiting. The text mostly tell of hardware platform, Internet connecting and communications hardware platform and software platform in realizing visitation. Finally choosing WIN 98+JSP+MS SQL Server 2000 to provide carry out.
Web database technology adopt B/S three floors, former adopts browser ware technology base on client machine, it adopts Web server and midst device to visit database. SQL database is suitability.
On course of achieving Web database, it is took into account problem that how to select hardware platform , software plat roof and Internet connect and correspondence hardware in the text. It is a more successful project. Then it is a more detailed elucidation about of database and server. So we can show JSP platform perfect.
Finally using JSP+MS SQL Server 2000 to carry out a forum program on Windows flat roof. It realizes that basic function of Web visiting to database.
Key words:Web database;JSP;SQL;connect technology
目 錄
引 言 V
第1章 Java語言與JSP簡介 2
1.1 Java語言 2
1.1.1 Java語言簡介 2
1.1.2 Java語言的基本特點 3
1.2 JSP簡介 4
1.2.1 JSP簡介 4
1.2.2 JSP的特點 4
1.2.3 JSP有關(guān)技術(shù)細節(jié) 5
1.2.4 JSP的開發(fā)歷程 6
第2章 Web數(shù)據(jù)庫實現(xiàn)技術(shù)及其比較 7
2.1 CGI 7
2.2 SAPI 7
2.3 ASP 8
2.4 PHP 9
2.5 JSP 9
2.6 它們之間的比較 10
2.7 Web數(shù)據(jù)庫的模式 11
2.8 比較圖表 12
第3章 JSP語法 13
3.1 語法簡介 13
3.2 標(biāo)準(zhǔn)語法 14
3.2.1 基本語句 14
3.2.2 指令 15
3.3 流程控制 16
第4章 數(shù)據(jù)庫系統(tǒng) 19
4.1 數(shù)據(jù)庫系統(tǒng)簡介 19
4.2 常用數(shù)據(jù)庫比較 20
4.2.1 SQL Server 20
4.2.2 Oracle 21
4.2.3 DB2 21
4.3 SQL基本命令 21
第5章 技術(shù)實現(xiàn) 23
5.1 服務(wù)器的選擇 23
5.1.1 WIN 2000/NT 23
5.1.2 Linux 23
5.1.3 WIN 98 24
5.2 服務(wù)器軟件的選擇 25
5.2.1 Jrun 25
5.2.2 Web Logic 26
5.2.3 Web Sphere 26
5.2.4 Tomcat 與 Resin 27
5.3 數(shù)據(jù)庫的選擇 28
5.4 軟件的配置 29
5.4.1 JDK 29
5.4.2 Jrun 29
5.4.3 Resin 31
5.4.4 MS SQL Server 2000 33
5.5 數(shù)據(jù)庫與JSP的連接 38
第6章 論壇分析 39
6.1 基礎(chǔ)分析 39
6.2 總體設(shè)計 39
6.3 詳細設(shè)計 40
6.3.1 主界面 40
6.3.2 注冊信息 40
6.3.3 用戶信息維護 41
6.3.4 信息發(fā)布 42
6.3.5 管理者維護 42
第7章 結(jié) 論 44
參考文獻 45
致 謝 46
附 錄 1 47
附 錄 2 64
參考文獻
[1] [美]Steven Holzner等著.Java 2技術(shù)內(nèi)幕.北京:中國水利水電出版社,2002.3
[2] [德]Marko Bioger等著.Java與分布式系統(tǒng).北京:機械工業(yè)出版社,2003.5
附 錄 1
論壇主要源程序
⑴main.jsp
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="com.laoer.bbscs.sysinfo.*"%>
......
附 錄 2
J2EE
With the release of the Java 2 Platform, Enterprise Edition v. 1.4 Software Development Kit (J2EE 1.4 SDK), web services becomes a standard feature of the J2EE platform. Java web services, with its support for SOAP, WSDL, and WS-I Basic Profile, are now integrated with servlets, JSP pages, and enterprise beans. Developers new to web services can leverage their existing knowledge of J2EE, and developers familiar with Java web services can reuse the same APIs in a more standard way. With these opportunities come new choices and new design decisions that need to be made: What is the most appropriate way to implement a web service client? What is ......