<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
En el código se accede a la factory:
WebApplicationContextUtils.getWebApplicationContext(servletContext);
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
WebApplicationContextUtils.getWebApplicationContext(servletContext);
No hay comentarios:
Publicar un comentario