下载: 读取properties文件路径的两种方式.zip(免积分,文档+项目示例) 注: 还可以使用 request.getSession().getServletContext().getRealPath("/index.html") 来获取其他资源.