Multiple Choices
Answer (Choose 1 answer)
A bean with a property color is loaded using the following statement <jsp:useBean id="fruit" class="Fruit"/>What happens when the following statement is executed. Select the one correct answer.<jsp:setProperty name="fruit" property="*"/>
A. This is incorrect syntax of <jsp:setProperty/> and will generate a compilation error. Either must be defined.
B. All the properties of the fruit bean are initialized to a value of null.
C. All the properties of the fruit bean are assigned the values of input parameters of the JSF the same name.
D. All the properties of the fruit bean are initialized to a value of *.
Ex