Oracle
1Z0-899 · Question #31
You are implementing a model component. You realize that an IOException might arise if you lose connection to the database. How should you address this?
The correct answer is C. Use the JSTL <c:catch> tag to take control if the exception arises. See the full explanation below for the reasoning.
Question
You are implementing a model component. You realize that an IOException might arise if you lose connection to the database. How should you address this?
Options
- AImplement multipathing to provide redundant connectivity to the database, thereby avoiding
- BProvide an error handler page, and use the page directive in the invoking ISP to redirect to
- CUse the JSTL <c:catch> tag to take control if the exception arises.
- DSurround the problem area with a try/catch block and implement appropriate recovery or
How the community answered
(42 responses)- A12% (5)
- B5% (2)
- C81% (34)
- D2% (1)
Community Discussion
No community discussion yet for this question.