Multiple choice technology web technology

In which file will the servlets and the security roles of the application will be defined

  1. Web.xml

  2. application.xml

  3. ps.xml

  4. Actionconfig.xml

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

The web.xml deployment descriptor is where servlets (via and elements) and security roles (via elements) are configured. This is the standard Java EE configuration file for web applications. Application.xml is for EAR-level configuration, not servlet definitions.