0
点赞
收藏
分享

微信扫一扫

spring mvc 获取上下文路径

是波波呀 2023-04-12 阅读 84

String basePath = ContextLoader.getCurrentWebApplicationContext().getServletContext().getRealPath("/");


举报

相关推荐

0 条评论