用戶登陸

網(wǎng)站相關(guān)幫助

網(wǎng)站制作
模版設(shè)置
網(wǎng)站編輯
網(wǎng)站欄目設(shè)置
手機網(wǎng)站
微信網(wǎng)站
發(fā)布網(wǎng)站
模塊操作
系統(tǒng)管理
常見問題

幫助文檔

JSP與ASP有哪些區(qū)別?

 JSP(Java Server Page)與ASP(Active Server Page)兩者都是常用的動態(tài)網(wǎng)頁技術(shù),也都是可以嵌入HTML中的程序,但兩者是有著本質(zhì)的不同,主要從以下幾個方面對其進行比較:
  (1)Web服務(wù)器的支持:大多數(shù)通用的 Web服務(wù)器如:Apache、Netscape和Microsoft IIS都支持JSP頁面,只有微軟本身的Microsoft IIS和Personal Web Server可以支持ASP。

 。2)平臺的支持:JSP具有平****立性,只要是一般的Java程序可以運行的平臺,都支持JSP程序。Windows平臺可以很好的支持ASP,但ASP對于基于Win32逐漸模型的依賴,使得它難于一直到其它平臺上。

 。3)組件模型:JSP是建立在可重用的、跨平臺的組件(如:JavaBeans、Enterprises JavaBeans 和用戶定制的標簽庫等組件)之上的,而ASP使用的是基于Win32的COM組件模型。

 。4)腳本語言:JSP可以使用Java編程語言或JavaScript作為腳本語言,而ASP使用VBScript或Jscript作為腳本語言。

 。5)安全性:JSP使用Java安全模型,而ASP使用Windows NT的安全結(jié)構(gòu)。

  (6)與Access數(shù)據(jù)庫的連接:JSP使用JDBC建立與Access數(shù)據(jù)庫的連接,而ASP對Access數(shù)據(jù)庫使用Data Active Objects。

  (7)用戶定制的標簽:JSP可以使用用戶定制標簽庫進行擴充,而ASP中沒有用戶定制標簽庫,ASP是不能擴充的。

上一篇:流量的算法是怎么算的?每月10G是什么意思?       下一篇:如何選擇虛擬主機?

備案系統(tǒng)認證 舉報不良網(wǎng)站 我們的支付方式 AAA級信用
廣州萬戶網(wǎng)絡(luò)信息科技有限公司 旗下網(wǎng)站建設(shè)品牌:中外商貿(mào) ibuycatalyticconverters.com 版權(quán)所有 ©2000-2019 All Rights Reserved
網(wǎng)站備案編號:粵ICP備15049595號 地址:廣州市番禺區(qū)大石街北聯(lián)圍仔工業(yè)路2號E座305
電話:020-85421558   傳真:020-88140140   郵編:510515
交換PR>=4的友情鏈接合作站,歡迎同行聯(lián)系鏈接QQ:
HTTP/1.1 200 OK Date: 22 ?? 2024 07:28:57 G10T Content-Length: 3073 Content-Type: text/html Connection: Close Server: Microsoft-IIS/10.0 Runtime Error

Server Error


Runtime Error

Description: A server error has occurred. The current custom error settings prevent the details of the error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please define an errorDetails attribute within the "filter.config" configuration file. This errorDetails attribute should then have its value set to "On".


<!-- Filter.Config Configuration File -->

<configuration>
    <httpFilters errorDetail="On">
        <!-- managed filters configuration -->
    </httpFilters>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "errorPage" attribute of the <httpFilters> configuration tag to point to a custom error page location.


<!-- Filter.Config Configuration File -->

<configuration>
    <httpFilters errorDetail="LocalOnly" errorPage="mycustompage.htm">
        <!-- managed filters configuration -->
    </httpFilters>
</configuration>