Oracle
1Z0-900 · Question #12
1Z0-900 Question #12: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.
Create Java Web Applications using Servlets
Question
How do you specify a default error page in your web.xml file?
Options
- A<on-error><location>/general-error.html<location></on-error>
- B<error-page><error-code>*</error-code><location>/general-error.html</location></error-page>
- C<on-error><error-code>*</error-code><location>/general-error.html</location></on-error>
- D<error-page><location>/general-error.html</location></error-page>
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#web.xml#error handling#servlet configuration#deployment descriptor