問題詳情

99 You are implementing a model component. You realize that an IOException might arise if youlose connection to the database. How should you address this?
(A) Implement multipathing to provide redundant connectivity to the database, thereby avoiding thatrisk of connection failure.
(B) Provide an error handler page, and use the page directive in the invoking ISP to redirect to thatpage if the error arises.
(C) Use the JSTL <c:catch> tag to take control if the exception arises.
(D) Surround the problem area with a try/catch block and implement appropriate recovery or fallbackbehavior.

參考答案

無參考答案

內容推薦