PRJ302_-_FA_2024_-_FE_3042.webp
myhuong91

PRJ302_-_FA_2024_-_FE_3042.webp

Kizspy | Question: 37 (Choose 1 answer)
<web-app>
Which of the following correct code to get information in the following <context-param> tag in the web.xml file?
<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");
  • Like
Reactions: viet105

Thông tin

Category
PRJ302
Thêm bởi
myhuong91
Ngày thêm
Lượt xem
1,462
Lượt bình luận
11
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom