tomcat发布后如何得到工程中配置文件的路径

2025-05-23 16:20:36
推荐回答(1个)
回答1:

getServletContext().getRealPath("/config/config.properties")