spring容器常用操作
//获取spring容器部署根路径 String basePath = ContextLoader.getCurrentWebApplicationContext().getServletContext().getRealPath("/");