spring mvc 获取上下文路径

来源:互联网 发布:office for mac 知乎 编辑:程序博客网 时间:2024/04/29 20:30
String basePath = ContextLoader.getCurrentWebApplicationContext().getServletContext().getRealPath("/");
0 0
原创粉丝点击