tomcat配置虚拟路径上传文件、图片

一、tomcat配置 1、在tomcat安装目录下找到conf目录(tomcat/conf/service.xml),修改service.xml文件: path:虚拟路径,以 / 开头; docBase:磁盘路径(绝对路径),Windows环境以盘符(D:/template)开始,linux环境如下; reloadable:为 true 时 当web.xml或者class有改动的时候都会自动重新加
相关文章
相关标签/搜索