【文章內(nèi)容簡(jiǎn)介】
riptlet elements are delimited blocks of Java code which may be intermixed with the markup. When the page is requested the Java code is executed and its output is added, in situ, with the surrounding markup to create the final page. JSPs must be piled to Java bytecode classes before they can be executed, but such pilation is needed only when a change to the source JSP file has occurred. 樣例文本 C ? JSP句法一個(gè) JSP頁(yè)面可以被分為以下幾部份: ? 靜態(tài)數(shù)據(jù),如 HTML ? JSP指令,如 include指令 ? JSP腳本元素和變量 ? JSP動(dòng)作 ? 用戶自定義標(biāo)簽 ? [編輯 ] 靜態(tài)數(shù)據(jù)靜態(tài)數(shù)據(jù)在輸入文件中的內(nèi)容和輸出給 HTTP響應(yīng)的內(nèi)容完全一致。此時(shí),該 JSP輸入文件會(huì)是一個(gè)沒有內(nèi)嵌JAVA或動(dòng)作的 HTML頁(yè)