4 During initialization, a servlet finds that the database connection it requires is unavailable. Asthe system designer, you know that the database start up completes several minutes after the webcontainer initializes the servlet. How should this be handled?
(A) Retry the connection until it is successful, then allow the init() method to complete.
(B) Throw a ServletException
(C) Throw the IOException
(D) Throw an UnavailableException

參考答案

無參考答案

內容推薦

內容推薦