Multiple choice technology programming languages

With in a context-param element of deployment descriptor, which of the following element is required?

  1. param-name

  2. name

  3. init-param

  4. servlet-name

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The context-param element in web.xml requires two subelements: param-name (the parameter name) and param-value (the parameter value). Option A correctly identifies param-name as required. Options B (name), C (init-param), and D (servlet-name) are incorrect - name is not a valid element, init-param is for servlet configuration, and servlet-name is used elsewhere in the descriptor.