在 myjsp.jsp 中,關于下面的代碼說法錯誤的是:()。
A.該頁面可以使用 exception 對象 B.該頁面發(fā)生異常會轉向 error.jsp C.存在 errorPage 屬性時,isErrorPage 是默認為 false D.error.jsp 頁面一定要有isErrorPage 屬性且值為 true
A.JDBC提供了Statement、PreparedStatement 和 CallableStatement三種方式來執(zhí)行查詢語句,其中 Statement 用于通用查詢, PreparedStatement 用于執(zhí)行參數化查詢,而 CallableStatement則是用于存儲過程 B.對于PreparedStatement來說,數據庫可以使用已經編譯過及定義好的執(zhí)行計劃,由于 PreparedStatement 對象已預編譯過,所以其執(zhí)行速度要快于 Statement 對象” C.PreparedStatement中,“?” 叫做占位符,一個占位符可以有一個或者多個值 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.