【正文】
ystems. JSP technology to use the Java programming language prepared by the category of XML tags and scriptlets, to produce dynamic pages package processing logic. Page also visit by tags and scriptlets exist in the services side of the resources of logic. JSP page logic and web page design and display separation, support reusable ponentbased design, Webbased application development is rapid and easy. Web server in the face of visits JSP page request, the first implementation of the procedures of, and then together with the results of the implementation of JSP documents in HTML code with the return to the customer. Insert the Java programming operation of the database can be reoriented websites, in order to achieve the establishment of dynamic pages needed to and Java Servlet, is in the implementation of the server, usually returned to the client is an HTML text, as long as the client browser will be able to visit. JSP specification of the final version is launched in September 1999, December has introduced specifications. At present relatively new is norms, norms of the draft has also been introduced. JSP pages from HTML code and Java code embedded in one of the ponents. The server was in the pages of client requests after the Java code and then will generate the HTML pages to return to the client browser. Java Servlet JSP is the technical foundation and largescale Web application development needs of Java Servlet and JSP support to plete. JSP with the Java technology easy to use, fully objectoriented, and a platformindependent and secure mainly for all the characteristics of the Inter. JSP technology strength: (1) time to prepare, run everywhere. At this point Java better than PHP, in addition to systems, the code not to make any changes.(2) the multiplatform support. Basically on all platforms of any development environment, in any environment for deployment in any environment in the expansion. Compared ASP / PHP limitations are obvious. (3) a strong scalability. From only a small Jar documents can run Servlet / JSP, to the multiple servers clustering and load balancing, to multiple Application for transaction processing, information processing, a server to numerous servers, Java shows a tremendous Vitality. (4) diver sification and powerful development tools support. This is similar to the ASP, Java already have many very good development tools, and many can be free, and many of them have been able to run on a variety of platforms under. JSP technology vulnerable: (1) and the same ASP, Java is the advantage of some of its fatal problem. It is precisely because in order to crossplatform functionality, in order to extreme stretching capacity, greatly increasing the plexity of the product. (2) Java39。它可以被當做 Flex 的庫來使用。利用 pdf2swf 軟件, pdf2swf 提供了命令行參數(shù),我們可以通過 Java 的 Runtime 和 Process 調(diào)用 pdf2swf 提供的命令將 pdf 轉(zhuǎn)為 swf。缺點就是 OpenOffice 套件文件很大。利用 OpenOffice 和 jodconverter 插件包, OpenOffice是 sun 公司自己用 Java 寫的一套開源 office 軟件,因為 java 是 sun 公司開發(fā)的跨平臺的面向?qū)ο蟮木幊陶Z言,所以以 java 語言開發(fā)的 jodconverter 插件與 OpenOffice 套件的組 合,可以實現(xiàn)跨平臺的運行,在任意的服務(wù)器上操作。通常實現(xiàn)這一功能的大體功能是將上傳的 doc、 ppt、txt 文檔轉(zhuǎn)換成 pdf,再將 pdf 文件轉(zhuǎn)化成 swf 格式 flash 形式,交由頁面顯示。盡最大可能減少不良信息和侵權(quán)行為的危害。與機構(gòu)合 作,在豐富優(yōu)質(zhì)版權(quán)資源的同時,也消除了因盜版內(nèi)容所帶來的隱患。 4 存在的問題和解決方法 、在線分享網(wǎng)站發(fā)展過程中存在的問題及解決方案: 我國在線文檔分享網(wǎng)站目前存在的主要問題是文檔的版權(quán)問題,由于高度的分享自由和不嚴密的文檔審查制度,導(dǎo)致越來越多的分享網(wǎng)站陷入版權(quán)糾紛中。 網(wǎng)站 論壇功能 允許登錄用戶發(fā)起會話,并進行交流,每位會員擁有自己的個人中心,查看自己參與的話題。另一方面指當用戶下載文檔時,如果該文檔有積分設(shè)定,那么下載者就要相應(yīng)的支付這些積分以完成下載。主要是指把一般的文檔 (pdf 除外 )轉(zhuǎn)換了 pdf 格式,并 把 pdf 轉(zhuǎn)換為能在瀏覽器中顯示的 swf 文件, 使用 Web 前端技術(shù)實現(xiàn)在線播放。 基于 JSP 的在線文檔共享與交流平臺的主要設(shè)計目標 基于以上技術(shù)描述和文檔共享平臺的發(fā)展狀況,該平臺應(yīng)該完成以下的功能: 為登陸用戶提供上傳和下載文檔服務(wù) 在用戶登陸的前提下,用戶可以在系統(tǒng)設(shè)定的格式要求和大小范圍下自由上傳任何文檔文件(上傳后需經(jīng)審核),并在下載權(quán)限的控制下自由下載各類文檔,并扣除相應(yīng)的下載積分。分層后更有利于組件的重用。網(wǎng)頁設(shè)計人員可以進行開發(fā)視圖層中的 JSP,對業(yè)務(wù)熟悉的開發(fā)人員可開發(fā)業(yè)務(wù)層,而其它開發(fā)人員可開發(fā)控層。 。 基于 JSP 的文檔共享平臺的特點 ,互不干涉。 Hibernate 作為優(yōu)秀的持久層框架,對 java 中的 JDBC 進行了輕量級的封裝,使用戶更加隨心所欲的 操作數(shù)據(jù)庫。 MVC 英文即 ModelViewController,即把一個應(yīng)用的輸入、處理、輸出流程按照 Model、 View、 Controller 的方式進行分離,這樣一個應(yīng)用被分成三個層 —— 模型層、視圖層、控制層,使開發(fā)更為便捷,提高程序的重用性,降低耦合度。另外,由于許多大公司開始支持 JSP 的 Web 服務(wù)器,這使得 JSP 已經(jīng)成為架設(shè)動態(tài)網(wǎng)站的成熟技術(shù),它利用 JDBC(Java Database Connectivity)的 API 實現(xiàn)對后臺數(shù)據(jù)服務(wù)器的訪問,由于 JDBC 是獨立于數(shù)據(jù)庫服務(wù)器系統(tǒng)的,要訪問不同的數(shù)據(jù) 庫 ( SQL Server、 Oracle、 DB2 等 ),就要針對不同數(shù)據(jù)庫的 JDBC 驅(qū)動程序來連接這些數(shù)據(jù)庫。 3 基于 JSP 的在線文檔共享與交流平臺涉及的內(nèi)容 基于 JSP 的文檔共享平臺所涉及的關(guān)鍵技術(shù)和特點 JSP 技術(shù) JSP 是 (Java Server Pages)是基于 Java Servlet 以及整個 Java 體系的 Web 開發(fā)技術(shù)。 對網(wǎng)站目標大眾需要的充分挖掘與盈利模式的多元化 要充分挖掘目標受眾的需要,應(yīng)和大眾的需求就是勝利的砝碼。 從垂直走向整合 由于文檔分享網(wǎng)站屬于網(wǎng)絡(luò)資源分享網(wǎng)站的一部分,而大多數(shù)的分享網(wǎng)站都各自經(jīng)營單獨的部分;如文檔分享、視頻分享網(wǎng)站、音樂分享網(wǎng)站、圖片分享網(wǎng)站等。 發(fā)展趨勢 根據(jù)國外發(fā)展的經(jīng)驗和國內(nèi)出現(xiàn)的相關(guān)問題,我國未來文檔共享平臺的發(fā)展趨勢主要有: 權(quán)威性與平民化并重 當一個文檔分享網(wǎng)站的本錢可以或許和像中國期刊、維普資訊等付費數(shù)據(jù)庫的資本的權(quán)威性相媲美,同時又可以或許給平民作者、本錢擁有者供給揭示分享平臺 的時候,那么文檔分享網(wǎng)站就做到權(quán)威性與互動性并舉。雖然對于用戶的準入、文檔的開放程度和文檔基數(shù)的發(fā)展有一定的積極作用,但容易造成版權(quán)危機。百度文庫擁有著最為龐大的用戶群體,但深陷版權(quán)危機之中。 國內(nèi)的研究現(xiàn)狀 國內(nèi)在線文檔的起步較國外晚,但今年來發(fā)展迅速,國內(nèi)涌現(xiàn)了大批在線文檔網(wǎng)站,其中的佼佼者如網(wǎng)、百度文庫、道客巴巴、智客網(wǎng)等。在線預(yù)覽功能很強大。國外的文檔共享網(wǎng)站通常建立一套嚴格的審查標準,對用戶上傳文檔進行嚴格的審查,旨在做到打擊盜版,和遏制不良信息對文化的污染。目前國外的經(jīng)營模式除了傳統(tǒng)的資源販賣和廣告收入外,還采用與版權(quán)方的合作分成 、電子書銷售等模式,擴大網(wǎng)站收 益。所以在一定的條件下,網(wǎng)站需要提出協(xié)議給予不同用戶的權(quán)限,盡最大努力發(fā)揮網(wǎng)站信息靈活服務(wù)的優(yōu)勢。用戶在對網(wǎng)站上某一文檔有興趣的時候,網(wǎng)站可以提供網(wǎng)民在線觀看的模式,但是部分文檔由于是作者付出許多心血寫出的自己的觀點,所以需求用戶必須給出相應(yīng)積分來下載文檔,并且作者也能得到相應(yīng) 積分。文檔共享網(wǎng)站的盈利模式主要有兩種一是資源販賣,二是廣告聯(lián)盟提供的廣告。 2 國內(nèi)外文檔共享與交流平臺發(fā)展現(xiàn)狀及趨勢 文檔共享是網(wǎng)絡(luò)信息共享的重要組成部分,是伴隨著信息資源的豐富和個人 PC 電 腦的普及而形成的。因此,大力開發(fā)文檔信息資源,構(gòu)建強大的資源共享平臺,實現(xiàn)文檔數(shù)字化管理和資源共享,對于提高我國整體信息化水平具有十分重要的 現(xiàn)實意義和長遠意義。 選題的意義 近年來,隨著我國信息化的發(fā)展,科技事業(yè)已經(jīng)邁入了一個全新的歷史發(fā)展時期。多用戶文檔管理系統(tǒng)提供強大的全文檢索功能以提高檢索效率和準確性、靈活方便的權(quán)限管 理提升文檔的共享作用。特別是在最近的幾十年中,數(shù)字技術(shù)和網(wǎng)絡(luò)技術(shù)在各個領(lǐng)域的應(yīng)用啟發(fā)人們開始在文檔資源的數(shù)字化使用、傳播和保存方面的探索,發(fā)展趨勢良好并取得一些階段性的成果,文檔資源的數(shù)字化共享已經(jīng)成為大眾所關(guān)注的重要領(lǐng)域之一 [1]。在素質(zhì)教育與終身教育成為必然的今天,人們對信息的需求有了更新,更高的要求,而基于WEB 的信息平臺由于本身所具有的信息量大,傳遞快速,沒有時空限制等特點恰好滿足這種要求。 四、存在問題及努力方向 本系統(tǒng)在實用性和性能上還有待提高,我會進一步進行文檔共享方面的研究,不斷完善本系統(tǒng)。 三、主要收獲及體會 通過這次畢業(yè)設(shè)計,提高了我的軟件開發(fā)技術(shù)水平和系統(tǒng)的設(shè)計思想。 二、研 究結(jié)果及意義 研究結(jié)果:設(shè)計基于 JSP的文檔共享與交流系統(tǒng),完成設(shè)計文檔(論文)的編寫。 解決措施: 實現(xiàn)這一功能的大體功能是將上傳的 doc、 ppt、 txt 文檔轉(zhuǎn)換成 pdf 文檔,再將 pdf文件轉(zhuǎn)化成 swf格式 flash形式,交由頁面顯示。