PRJ301_-_FA_2024_-_Block_5_-_FE_3235.webp
Sero93

PRJ301_-_FA_2024_-_Block_5_-_FE_3235.webp

  • Media owner Sero93
  • Ngày thêm
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
Sero93
Ngày thêm
Lượt xem
6,911
Lượt bình luận
32
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom