Is it safe to use ContextLoader.getCurrentWebApplicationContext() in a web application ?

is the result same as WebApplicationContextUtils.getWebApplicationContex t(servletContext) ?

thanks.