問題詳情

88 An appropriate jsp:useBean tag has been placed into a JSP, and identified the bean using thename "theBean".The bean class includes a method with the following signature:public boolean isOurCustomer ()You wish to insert the test true or false into the output HTML based on the return value of thismethod. Which is true?
(A) This can be achieved using a tag of the form: <jsp:getProperty name= "theBean" property"ourCustomer" />
(B) This can be achieved using a tag of the form: <jsp:getProperty id= "theBean" property="ourCustomer"/>
(C) This can be achieved using a tag of the form: <jsp:getProperty id= "theBean" invoke"getOurCustomer" />
(D) This can be achieved using a tag of the form: <jsp:getProperty name= "theBean" type= "boolean"property= "ourCustomer" />
(E) This cannot be achieved because the return type of isOurCustomer () is not StringF. This cannot be achieved because the method isOurCustomer () does not adhere to JavaBeansconventions.

參考答案

無參考答案

內容推薦

內容推薦