How can I get a ServletContext inside an Interceptor in Spring MVC 3?
Since the interceptor is a bean, you can simply auto-verify it:
@Autowired ServletContext context;
Look at this example
http://www.vaannila.com/spring/spring-interceptor.html
and then request.getSession (). getServletContext ()