問題詳情

125 A method call inside your servlet has thrown an IOException resulting from a lost networkconnection to a necessary resource. The servlet has determined that it will be unable to operatesuccessfully for a few minutes, but expects to be able to resume operation after that period. Howshould this situation handled?
(A) The servlet should re-throw the exception to the web container.
(B) The servlet should throw a servletException to the web container.
(C) The servlet should throw an unavailableException to the web container.
(D) The servlet should redirect to an error page that reports the exception message.
(E) The servlet should retry the request until the method returns successfully.

參考答案

無參考答案

內容推薦