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

In Java web applications, servlets and security role mappings are defined in the web.xml deployment descriptor. This is the standard configuration file for servlet containers like Tomcat. Application.xml is for EAR-level configuration, while ps.xml is framework-specific.