修改server.xml,在<host>中添加<Context>,具体配置如下:
1 <!-- 目录映射 --> 2 <Context path="/upload" docBase="/data/upload" />
修改server.xml,在<host>中添加<Context>,具体配置如下:
1 <!-- 目录映射 --> 2 <Context path="/upload" docBase="/data/upload" />
java
一、tomcat的默认虚拟根目录和虚拟目录 在tomcat安装目录下的weba
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M