【正文】
lication program that separates 。t be experts who design webpage either. This can define Web template in JSP page with Javas , in order to set up websites made up of a page with similar appearance. Java pletion data offer, have Java code among template, this mean template these can write by one HTML person is it maintain to e. JSP develops technology as the webpage of the mainstream at present, has the following characteristics: (1) Separate the formulation and showing of the content : Using JSP technology, the page developer of Web can use HTML or XML identification to design and format the final page . Use JSP identification or bound foot turn into dynamic content of page actually (whether content according to is it e change to ask). Produce logic of content of the identification and JavaBeans package , truss up of the little script encapsulation, all scripts run in the end of the server. If key logic among identification and JavaBeans, then other people, such as Web administrative staff and page designer encapsulation, can edit and use JSP page , and does not influence the formulation of the content . (2) Emphasize the reusable package : Most JSP pages depend on the reusable one, the package stepping the platform finish more plicated treatment with required application program. Benefitting from the independence of operating platform of Java, the developer can be very convenient to share and exchange and carry out the ordinary package that operated, or make these packages used by more users. 畢業(yè)設(shè)計(論文)專用紙 第 30 頁 共 46 頁 The method based on package has accelerated the total development course, the efficiency of improving the project and developing wholly greatly. Though JSP is powerful, it requires the webpage developer should be quite familiar with Java. There are still relatively few Java programmers now, for general webpage developer, the grammar of JSP is more difficult to grasp . So, need a kind of webpage developing instrument and offer monly used JSP application to general webpage developer, is it understand general page develop developer of technology (HTML ) can use strong function of JSP too only to let. 1. Systematic design object and main technology of use Design object System this design object for understand but HTML understand general webpage developer of JSP offer a webpage developing instrument at all only, enable them to follow the systematic file, use the daily function of JSP through the label, produce one finally and only include static HTML and dynamic JSP webpage of JSP label. Main technology This system is in the design, consider using the technology of the template and JSP label to realize mainly. Technology of the template The technology of the template is widely applied to various kinds of develo。s logic are correlated with through using JavaBeans , EJB and Servlet , and only assign the work shown to JSP page to finish. Content and show advantage that logic separate lie in , upgrade person , page of appearance needn39。 Label storehouse。s firstselected technology. But because JSP has relatively high expectations for Web developer, a lot of general Web developers can not use this advanced technology . The discussion produces the design of the tool and realizes automatically on the basis of JSP webpage of the template and label storehouse, put forward concrete design philosophy and implementation method . Keyword: JSP。這些問題有待于今后進一步的學習與完善。但 ASP 畢竟是軟件霸主微軟精心設(shè)計的一個寵兒 ,人們不得不慢慢向它靠攏,現(xiàn)在越來越多的 Web 服務器已開始支持 ASP。 本文 設(shè)計的是 一種基于 ASP 的學校 網(wǎng)站 ,該系統(tǒng)的 新聞文摘等信息的 發(fā)布,多欄目 的 管理,使學校的新聞信息及時、準確的得以發(fā)布。 ASP 正慢慢成為動態(tài) Web 應用程序開發(fā)環(huán)境的主流。如果三項有任何一項出問題都不能夠成功登錄,下圖所示是用戶名或密碼錯誤時: 圖 9 管理員登錄失敗界面 當驗證碼 出現(xiàn) 錯誤時: 圖 10 登錄驗證碼出錯時界面 管理員進入后臺進行信息的添加和修改,刪除等操作,如下圖所示是添加軟 件頁面,次頁面可以上傳本地軟件和微縮圖,也可以直接連接其他服務器上的軟件路徑,也可以從已經(jīng)上傳的圖片中選取要添加的圖片信息: 圖 11 后臺添加軟件時界面 畢業(yè)設(shè)計(論文)專用紙 第 26 頁 共 46 頁 添加軟件成功的頁面顯示為: 圖 12 添加軟件成功界面 依次類舉,此系統(tǒng)在添加文件等操作中,可實用性強,能夠充分完成一個網(wǎng)站系統(tǒng)所要求達到的功能和管理;測試能夠順利完成并反饋在前臺顯示。在后臺的管理頁面中,由于文件較多,較繁雜,我使用了框架技術(shù),使管理人員有很好的編輯處理界面。H49B40821首先要在使用 MD5加密的也面上包含它: !include file=“ ” 在加密的時候使用函數(shù) md5(strItem)就可以啦: md5(strUserName) 在加密的過程中,“ asp”加密后的結(jié)果是 的最終結(jié)果。HEFCDAB89 c=amp。所以它可以用于服務器端加密。否則,由于客戶端代碼是源代碼可見的,偵聽者了解了原算法,也就可以設(shè)計出反向的算法。 MD5 加密,這里不可能去研究加密算法,所以只能夠簡單的介紹一下如何使用最常見的加密技術(shù)。留言系統(tǒng)嵌入了 UBB 功能, 用戶在編輯留言時就有了自己想要的格式和效果,給用戶新意,產(chǎn)生好印象,給下次訪問網(wǎng)站帶來基礎(chǔ)和前提。一個功能完善的留言板也有著比較復雜的功能,這種復雜性表現(xiàn)在留言板的管理權(quán)限和留言豐富的表現(xiàn)形式兩個方面。 =strJS。 strJS+=39。 type=39。 在網(wǎng)站 JS 代碼管理文件中使用了下面一段 JavaScript 代碼片段: script language=JavaScript type=text/JavaScript function makejs() { var strJS。從而基于 CGI 靜態(tài)的 HTML 頁面將被可提供動態(tài)實時信息,并對客戶操作進行反應的 Web 頁面的取代。使用它的目的是與 HTML 超文本標記語言、 Java 腳本 語言( Java 小程序)畢業(yè)設(shè)計(論文)專用紙 第 20 頁 共 46 頁 一起實現(xiàn)在一個 Web 頁面中鏈接多個對象,與 Web 客戶交互作用,從而可以開發(fā)客戶端的應用程序等。 color: FFFFFF。 可視化設(shè)計最重要的是確定網(wǎng)站的頁面布局。 (2) 確定網(wǎng)站的目錄結(jié)構(gòu) 建立良好的目錄結(jié)構(gòu),方便站點的維護。 畢業(yè)設(shè)計(論文)專用紙 第 18 頁 共 46 頁 8. 留言系統(tǒng)管理:發(fā)表 、 刪除 、 回復留言等。 4. 新聞文章刪除:在后臺管理系統(tǒng)中上傳一些文章、上傳圖片等、在前臺查詢這些文章。該系統(tǒng)也可經(jīng)后繼開發(fā) ,使之生成 JS 代碼 ,在一個主機上維護新聞文章 ,在其他靜態(tài)網(wǎng)頁中插入代碼后顯示相應的新聞文章。 (5) 學工在線專區(qū) : 提供用戶 之間進行交流的系統(tǒng)。現(xiàn)在,必須使用Java 或 Java Applet 制作的許多動態(tài)效果都能夠使用 VBScript 語言實現(xiàn)了。 VBScript 不能夠直接訪問內(nèi)存,也不 能夠在硬盤上創(chuàng)建和操作文件。它的編程過程與自然語言十分相似 ,比較容易理解和編程,即使沒學過 Visual Basic,通過學習也能迅速地掌握 VBScript 語言。而用 VBScript 編寫的網(wǎng)頁是一直動態(tài)的,可以使主頁隨應用條件的不同而改變頁面的內(nèi)容。這樣就完成了用戶瀏覽器對服務器的訪問。 ASP 的工作原理 當用戶瀏覽網(wǎng)頁時,客戶端瀏覽器與 WEB 站點之間進行交互 的過程如下圖所示: