Multiple choice technology security

Following list shows entries in the web.xml deployment descriptor for Exception & Error Handling. Please identify which one is correct a. java.lang.Throwable /error.jsp b. 500 /error.jsp c. /error.jsp

  1. a

  2. b

  3. c

  4. a AND b

  5. a AND b AND c

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

Option A handles all exceptions via Throwable to redirect to error.jsp. Option B catches HTTP 500 errors to redirect to the same page. Both are valid error-page configurations in web.xml. Option C is invalid because an error-page must specify either exception-type or error-code.