Chapter 4. Servlet Exceptions

Terms you'll need to understand:

Techniques you'll need to master:

  • Identify correctly constructed code for handling business logic exceptions.

  • Match that code with correct statements about the code's exception handling.

  • Be able to return an HTTP error using the sendError response method.

  • Return an HTTP error using the setStatus method.

  • Identify the configuration that the deployment descriptor uses to handle each exception.

  • Understand how to use a RequestDispatcher to forward the request to an error page.

  • Specify error handling declaratively in the deployment descriptor.

  • Identify the method used to write a message to the Web app log.

  • Be able to write ...

Get Java™ 2 Enterprise Edition (J2EE™) Web Component Developer Exam Cram™ 2 (Exam 310-080) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.