更新时间:2023-12-03 13:54:28
真的不推荐从 Java EE 容器写入文件系统,特别是如果您需要处理写入的数据:
Writing to the file system from a Java EE container is not really recommended, especially if you need to process the written data:
如果这是一个选项,我会将文件存储在数据库中或使用 JCR 存储库(例如 Jackrabbit).
If this is an option, I would store the files in database or use a JCR repository (like Jackrabbit).