在 myjsp.jsp 中,關(guān)于下面的代碼說法錯(cuò)誤的是:()。
A.該頁(yè)面可以使用 exception 對(duì)象 B.該頁(yè)面發(fā)生異常會(huì)轉(zhuǎn)向 error.jsp C.存在 errorPage 屬性時(shí),isErrorPage 是默認(rèn)為 false D.error.jsp 頁(yè)面一定要有isErrorPage 屬性且值為 true
A.JDBC提供了Statement、PreparedStatement 和 CallableStatement三種方式來執(zhí)行查詢語(yǔ)句,其中 Statement 用于通用查詢, PreparedStatement 用于執(zhí)行參數(shù)化查詢,而 CallableStatement則是用于存儲(chǔ)過程 B.對(duì)于PreparedStatement來說,數(shù)據(jù)庫(kù)可以使用已經(jīng)編譯過及定義好的執(zhí)行計(jì)劃,由于 PreparedStatement 對(duì)象已預(yù)編譯過,所以其執(zhí)行速度要快于 Statement 對(duì)象” C.PreparedStatement中,“?” 叫做占位符,一個(gè)占位符可以有一個(gè)或者多個(gè)值 D.PreparedStatement可以阻止常見的SQL注入式攻擊
Given: What is the result()。
A.The output is “Equal” B.The output in “Not Equal” C.An error at line 5 causes compilation to fall. D.The program executes but does not print a message.