0
点赞
收藏
分享

微信扫一扫

获取servletContext springMvc获取servletContext

芭芭蘑菇 2022-06-21 阅读 57
WebApplicationContext webApplicationContext = ContextLoader.getCurrentWebApplicationContext();
ServletContext servletContext = webApplicationContext.getServletContext();


举报

相关推荐

0 条评论