SpringMVC 中获取ServletContext 2017-7-03 18:19 | 697 | 0 | 未分类 13 字 | 几秒读完 方法一: ContextLoader.getCurrentWebApplicationContext().getServletContext() 方法二: