nerdexam
Oracle

1Z0-899 · Question #193

1Z0-899 Question #193: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #193. The question stem and answer options stay visible for context.

Question

Given the fragment from Java EE deployment descriptor: 341. <error-page> 342. <exception-type>java.lang.Throwable</exception-type> 343. <location>/mainError.jsp</location> 344. </error-page> 345. <error-page> 346. <exception-type>java.lang.ClassCastException</exception-type> 347. <location>/castError.jsp</location> 348. </error-page> If the web application associated with the fragment above throws a ClassCastException. Which statement is true?

Options

  • AThe deployment descriptor is invalid.
  • BThe container invokes mainError.jsp
  • CThe container invokes castError.jsp
  • DNeither mainError.jsp nor castError.jsp is invoked.

Unlock 1Z0-899 to see the answer

You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 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.

Full 1Z0-899 Practice