PRJ301_-_FA_2023_-_RE_1125.webp
bright_light

PRJ301_-_FA_2023_-_RE_1125.webp

(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 value or param 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 JSP page that have the same name.
D. All the properties of the fruit bean are initialized to a value of *.
Finish
3

Thông tin

Category
PRJ301
Thêm bởi
bright_light
Ngày thêm
Lượt xem
2,729
Lượt bình luận
15
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ301_-_FA_2023_-_RE_1125.webp
File size
53.4 KB
Dimensions
1286px x 546px

Share this media

Back
Bên trên Bottom