PRJ301_-_1_-_SP_2024_-_FE_1708.webp
Đ

PRJ301_-_1_-_SP_2024_-_FE_1708.webp

(Choose 1 answer)
<web-app>
<servlet>
<servlet-name>Test Servlet</servlet-name>
<servlet-class>com.abc. Test Servlet</servlet-class>
Consider the Servlet definition in a web.xml file below.
<init-param>
<param-name>locale</param-name>
<param-value>US</param-value>
(see picture)
<init-param>
What will the following line of code return if present in the init() method of TestServlet?getInitParameter(1);
<init-param>
<param-name>timezone</param-name>
<param-value>eastern</param-value>
A. Compilation error.
<init-param>
B. It will return "eastern".
</servlet>
C. It will return null.
</web-app>
D. Runtime error.
E. It will return "US".

Thông tin

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

Image metadata

Filename
PRJ301_-_1_-_SP_2024_-_FE_1708.webp
File size
206.9 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom