Multiple choice technology web technology

Which tag used for security of appliction in web.xml

  1. <servlet-class>

  2. <taglib-url>

  3. <security-constraint>

  4. <init-param>

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

The security-constraint tag in web.xml defines access rules for web resources, specifying URL patterns, HTTP methods, and authorized roles. This is the primary mechanism for declarative security in servlet applications. Option C correctly identifies this tag.