Which two prevent a servlet from handling requests?

Which two prevent a servlet from handling requests? (Choose two.)

Which two prevent a servlet from handling requests? (Choose two.)

A.
The servlet’s init method returns a non-zero status.

B.
The servlet’s init method throws a ServletException.

C.
The servlet’s init method sets the ServletResponse’s content length to 0.

D.
The servlet’s init method sets the ServletResponse’s content type to null.

E.
The servlet’s init method does NOT return within a time period defined by the servlet container.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *