jboss <context /> 配置虚拟路径,映射本地文件

这个目录下的server.xml <host><host/>标签中添加:

<Context path="/file" docBase="D:/file/html" reloadable="true" override="true" crossContext="true"/> 

原文地址:https://www.cnblogs.com/wangkang0320/p/6775884.html