Multiple choice technology programming languages

Which interface is implemented by the services in order to pass configuration information to a Servlet when it first starts

  1. Structs Config

  2. WebXML

  3. ServletConfig

  4. None of the above

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

The ServletConfig interface is used by the servlet container to pass initialization parameters and configuration information to a servlet instance during its initialization (via the init method). WebXML is not a standard interface, and Structs Config is a framework-specific concept.