我有一个在Wildfly 8.0.0 Final上运行的JavaEE应用程序.
应用程序使用大量图像,我不想将它们存储在数据库中,因此它们被写入硬盘.
例如,如何配置Wildfly/Undertow以便在某个URL上提供这些文件(/ var/images)http://localhost:8080/myapplication/imagesFromDisk?
http://localhost:8080/myapplication/imagesFromDisk
static-content wildfly undertow
static-content ×1
undertow ×1
wildfly ×1