Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 JDBC 连接到 Oracle 数据库。有时当我尝试断开连接时,我收到错误:
Io exception Broken pipe
这是因为网络连接中断。如何更好地处理这个异常?谢谢。
但是你无论如何都想断开连接,那么问题出在哪里?
您可以使用相对温和的日志级别记录它,或者完全吞下异常(我推荐前者)
我得到了一个包含如下步骤的列表:
<ul > <for:forEach id="steps" items="#{RecipeBean.recipe.steps}" var="step"> <li> <com:Step description="#{step.stepDescriptio