PRJ301_-_SP_2024_-_RE_1764.webp
M

PRJ301_-_SP_2024_-_RE_1764.webp

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 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 *.


Exit 37
  • Like
Reactions: seloena

Thông tin

Category
PRJ301
Thêm bởi
Mỹ Duyên2
Ngày thêm
Lượt xem
2,090
Lượt bình luận
25
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ301_-_SP_2024_-_RE_1764.webp
File size
75.3 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom