How can you redirect the request from a
servlet to another resource if the servlet encounters an exception?
a. This cannot be done unless the exception is caught in the servlet.
This answer is wrong but it should be right, i don't know this answer is the wrong answer.
b. By specifying a mapping between exception class and the resource in web.xml.
c. This can be done only if the exception is a subclass of javax.servlet.ServletException.
d. This can be done even if the exact class of the exception is not known at compile time.