1. Home
  2. Computing & Technology
  3. Computer Certification
IBM J2EE Practice Test
20 Free IBM J2EE Practice Questions from Whizlabs.com

Question 11

If the HTTP error 500 is generated by your servlet, you do not want to show the "Internal Server Error" page to the client. Instead, you want a custom error page to be displayed. What is the best way to accomplish this?

a. Forward the user to the error page using HttpServletResponse.sendRedirect method.

b. Forward the user to the error page using RequestDispatcher.forward method.

c. Specify the mapping of the error-code 500 and the error page in the deployment descriptor.

d. It is not possible to accomplish this.

Next page > Question 12

Explore Computer Certification
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2009 About.com, a part of The New York Times Company.

All rights reserved.