(Choose 1 ans AUTO CAP ON
<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.
(see picture)What will the following line of code return if present in the init() method of TestServlet?
getInitParameter(1):
A. It will return null.
<init-param>
<param-name>timezone</param-name>
<param-value>eastern</param-value>
<param-value>US</param-value>
<init-param>
<param-name>locale</param-name>
<init-param>
B. Compilation error.
<init-param>
C. It will return "US".
</servlet>
D. Runtime error.
</web-app>
FUO
E. It will return "eastern".