阿摩線上測驗 登入

試題詳解

試卷:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899 (101-132)#84682 | 科目:OCE

試卷資訊

試卷名稱:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899 (101-132)#84682

科目:OCE

125 A method call inside your servlet has thrown an IOException resulting from a lost network connection to a necessary resource. The servlet has determined that it will be unable to operate successfully for a few minutes, but expects to be able to resume operation after that period. How should 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.
正確答案:登入後查看