Alex
As a
test, create another exception which is a runtime exception:
Amend your deployment descriptor to include a different re-direct for this exception:
Now test these scenarios:
1) In your doGet method, throw a MyRuntimeException. Which page does the user get re-directed to?
2) In your doGet method, throw a ServletException. Which page does the user get re-directed to?