freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

外文文獻(xiàn)-jsp技術(shù)概述(完整版)

  

【正文】 d manager) popularized this approach before JSP came along and decided to jump on the bandwagon. In fact, JSP not only adopted the general idea, it even used many of the same special tags as ASP did. So, the question bees: why use JSP instead of one of these other technologies? Our first response is that we are not arguing that everyone should. Several of those other technologies are quite good and are reasonable options in some situations. In other situations, however, JSP is clearly better. Here are a few of the .NET and Active Server Pages (ASP).NET is welldesigned technology from Microsoft. is the part that directly petes with servlets and JSP. The advantages of JSP are , JSP is portable to multiple operating systems and Web servers。t provide any capabilities that couldn39。 you just put the image in the directory for Web resources (., two levels up from WEBINF/classes) and output a normal IMG create images that change under the mouse by using clientside JavaScript, referenced with the SCRIPT tag。畢竟,在特定平臺(tái)上能夠用 Java編程語(yǔ)言完成的事情,同樣可以用匯編語(yǔ)言來(lái)完成,但是選擇哪種語(yǔ)言依舊十分重要。 在此,這個(gè)討論并不是讓您停止使用 servlets,只使用 JSP。 Java社團(tuán)沒(méi)有發(fā)明這一思想 將頁(yè)面設(shè)計(jì)成由靜態(tài) HTML和用特殊標(biāo)簽標(biāo)記的動(dòng)態(tài)代碼混合組成 .。 JSP的優(yōu)勢(shì)體現(xiàn)在兩個(gè)方面: 首先 ,JSP可以移植到多種操作系統(tǒng)和 Web服務(wù)器 ,您不必僅僅局限于部署在 Windows 和 IIS 上盡管核心 .NET平臺(tái)可以在好幾種非 Windows平臺(tái)上運(yùn)行,但 ASP這一部分不可以。使用 JSP,動(dòng)態(tài)部分是用 Java 編寫(xiě)的 ,而非 VBScript過(guò)其他 ASP專有的語(yǔ)言 ,因此 JSP更為強(qiáng)勁 ,更適合于要求組件重用的復(fù)雜應(yīng)用。實(shí)際上, JSP文檔在后臺(tái)被自動(dòng)轉(zhuǎn)換成 Servlet。 JSP擅長(zhǎng)生成由大量組織有序的結(jié)構(gòu)化 HTML 或其他字符數(shù)據(jù)組成的頁(yè)面。然而, Java更為強(qiáng)大靈活、可靠且可移植。但是,試圖使用非標(biāo)準(zhǔn)的工具代替 JSP則不理想。例如, JSP標(biāo)準(zhǔn)標(biāo)簽庫(kù)和 JSP 語(yǔ)言解決了兩種最廣泛的批評(píng):缺乏良好的迭代結(jié)構(gòu);不使用顯式的 Java 代碼或冗長(zhǎng)的 jsp:useBean元素難以訪問(wèn)動(dòng)態(tài)結(jié)果。如果瀏覽器支持 Java 2平臺(tái),您可以使用正常的 APPLET(或 Java插件)標(biāo)簽,即使在服務(wù)器上使用了非 Java技術(shù)也須如此。但是每一步發(fā)生在什么時(shí)候呢?要回答這個(gè)問(wèn)題,要記住以下兩點(diǎn): JSP頁(yè)面僅在修改后第一次被訪問(wèn)時(shí),才會(huì)被轉(zhuǎn)換成 servlet并進(jìn)行編譯;載入到內(nèi)存中 、初始化和執(zhí)行遵循 servlet的一般規(guī)則。您應(yīng)該用 SCRIPT標(biāo)簽,使用客戶端 JavaScript創(chuàng)建在鼠標(biāo)下會(huì)更改的圖像,這不會(huì)由于服務(wù)器使用 JSP而改變。我們的 服務(wù)器正在運(yùn)行 。對(duì)于 JSP替代技術(shù)的爭(zhēng)論幾乎只是集中在技術(shù)特性上,而可移植性、標(biāo)準(zhǔn)化和集成性也十分重要。許多人都曾指出過(guò) JSP中能夠改進(jìn)的功能。 ( 4)有些任務(wù)更適合于組合使用 Servlet和 JSP來(lái)完成,而非單獨(dú) 使用 Servlet或 JSP。另外,通過(guò)將表示與內(nèi)容分離,可以為不同的人分配不同的任務(wù):網(wǎng)頁(yè)設(shè)計(jì)人員使用熟悉的工具構(gòu)建 HTML,要么為 Servlet程序員留出空間插入動(dòng)態(tài)內(nèi)容,要么通過(guò) XML標(biāo)簽間接調(diào)用動(dòng)態(tài)內(nèi)容。應(yīng)用 JSP,您可以使用 Java編寫(xiě) “真正的代碼 ”,不必依賴于特定的服務(wù)器產(chǎn)品。對(duì)于某些應(yīng)用,這種差異沒(méi)有什么影響。甚至 ASP(來(lái)自于前述經(jīng)理所在公司的一項(xiàng)產(chǎn)品 )都在 JSP 出現(xiàn)之前推廣了這種方式。針對(duì)項(xiàng)目中的某些請(qǐng)求,您可能會(huì)在 MVC 構(gòu)架下組合使用這兩項(xiàng)技術(shù)。 JSP中可以使用常規(guī)的 HTML:沒(méi)有額外的反斜杠,沒(méi)有額外的雙引號(hào),也沒(méi)有暗含的 Java語(yǔ)法;能夠使用標(biāo)準(zhǔn)的網(wǎng)站開(kāi)發(fā)工具。 those tags are processed on the server and are not part of the output that is sent to the Translation Time with Request JSP page is converted into a servlet. The servlet is piled, loaded into the server39。t understand how JSP works without understanding servlets. 2. JSP consists of static HTML, specialpurpose JSP tags, and Java code. What kind of Java code? Servlet code! You can39。 附 錄 Overview of JSP Technology JSP pages are translated into servlets. So, fundamentally, any task JSP pages can perform couldalso be acplished by servlets. However, this underlying equivalence does not mean that servlets and JSP pages are equally appropriate in all scenarios. The issue is not the power of the technology, it is the convenience, productivity, and maintainability of one or the other. After all, anything you can do on a particular puter platform in the Java programming language you could also do in assembly language. But it still matters which you choose. JSP provides the following benefits over servlets alone: It is easier to write and maintain the
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1