java hosting


JavaRanch's SCWCD Mock Exam

This mock exam is provided to aid people in the preparation for the SCWCD Exam. While the questions are hopefully of similar content, every effort has been made to ensure no question from the real exam is contained herein.

Question Bank ID : 10     Choose the 1 correct answer
<error-page>
    <error-code>404</error-code>
    <location>/not_found.html</location>
</error-page>

The above entry in the Deployment Descriptor will do what?
Route any ServletExceptions with the code 404 thrown from your servlet to 
not_found.html
Route any request to your web application for a page or servlet that 
cannot be found to not_found.html
Route any 404 requests to not_found.html
Route any exception thrown in a servlet to not_found.html

Return to Start

JSP pages and Beans developed by Carl Trusiak
Questions developed and maintained by :
Tony Alicea
Frank Carver
Peter den Haan
Carl Trusiak
Christophe Verré
Paul Wheaton
Ken Zrobok