Q38.webp
Hoàng Thái1

Q38.webp

Kizspy Question: 38
(Choose 1 answer)
Which of the following correct code to get information in the following <context-param> tag in the web.xml file?
<web-app>
<context-param>
<param-name>studentName</param-name>
<param-value>abcJhn</param-value>
</context-param>
</web-app>
A. request.getParameter("studentName");
B. ServletContext sc = getServletContext();
String serverName = sc.getInitParameter("studentName");
C. ServletConfig sc = getServletConfig().
String serverName = sc.getInitParameter("studentName");
D. response.getParameter("studentName");

Thông tin

Category
PRJ301
Thêm bởi
Hoàng Thái1
Ngày thêm
Lượt xem
3,145
Lượt bình luận
9
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom