1.编辑\conf\server.xml 2.在Host标签内加入 docBase是系统的文件目录,path是项目命名目录。 <Context docBase="F:/imgs" path="/imgs"/> 3.测试