WebApplicationContext webApplicationContext =ContextLoader.getCurrentWebApplicationContext();
webApplicationContext.getServletContext().setAttribute("aaa", "aaaa");
WebApplicationContext webApplicationContext =ContextLoader.getCurrentWebApplicationContext();
webApplicationContext.getServletContext().setAttribute("aaa", "aaaa");