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.
在初始化应用程序时打开错误文件输出流,并且在应用程序停止运行之前不关闭它是否可以接受?文件会在一段时间后自动关闭吗?保持文件打开会以任何方式限制我吗?
在初始化应用程序时打开错误文件输出流,并且在应用程序停止运行之前不关闭它是否可以接受?
是的。
文件会在一段时间后自动关闭吗?
不。
保持文件打开会以任何方式限制我吗?
否(嗯,这将计入您打开文件的最大数量,但这不太可能成为问题)。
I have a link to switch from lang 1 to lang 2 in xhtml:
<p:commandLink value="#{msgs['home.french']}" id="frenchLink" rendered="#{main