Chapter 4. Servlet Exceptions
Terms you'll need to understand:
Exception
RequestDispatcher
Logging
Status codes
Error codes
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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.