經過tomcat讀取文件

1、tomcat 安裝目錄\conf\Catalina\localhost下創建任意文件名xml文件,好比:server_file.xml,前端 內容以下:web <?xml version="1.0" encoding="UTF-8"?>  apache <Context  reloadable="true" docBase="D://myfiles" crossContext="true">
相關文章
相關標籤/搜索