A. The deployment descriptor is not valid. B. If the application throws an IOException, nothing will be served. C. If the application throws an IOException, notFound.jsp will be served. D. If the application throws an IOException, mainError.jsp will be served.
The correct answers are given in the book are: A
Isn't B is correct as well? Because the DD is not valid, when an IOException is thrown nothing (mainError.jsp or notFound.jsp) will be served.
Yes. the correct answer is optiopn A. Given that the configuration is invalid, the error thrown by the container will still propagate to the client. So, the statement that nothing will be served is not correct, I think.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley