123456789101112131415



Question 1: A bean with a property color is loaded using the following statement
<jsp:usebean id="fruit" class="Fruit"/>
Which of the following statements may be used to set the of color property of the bean. Select the one correct answer.

1. <jsp:setProperty name="fruit" property="color" value="white"/>
2. <jsp:setColor id="fruit" property="color" value="white"/>
3. <jsp:setColor name="fruit" property="color" value="white"/>
4. <jsp:setValue name="fruit" property="color" value="white"/>