Multiple choice technology programming languages

servlet.xml is the file used to define a servlet mapping

  1. True

  2. False

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

In Java web applications, the deployment descriptor file used to define servlet mappings is standardly named web.xml, which resides in the WEB-INF directory. A file named servlet.xml is not standardly used for this purpose, making the statement false.