httpServerletListener中获取spring bean
public voidsessionCreated(HttpSessionEvent arg0) {
ApplicationContext ctx=WebApplicationContextUtils.getRequiredWebApplicationContext(arg0.getSession().getServletContext())
}
httpServerletListener中获取spring bean
public voidsessionCreated(HttpSessionEvent arg0) {
ApplicationContext ctx=WebApplicationContextUtils.getRequiredWebApplicationContext(arg0.getSession().getServletContext())
}