Wednesday, March 5, 2014

Spring How to access the WebApplicationContext from a servlet

WebApplicationContext wac = (WebApplicationContext) getServletContext().getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);

0 comments to “Spring How to access the WebApplicationContext from a servlet”

Post a Comment

 

Information Sharing Copyright © 2016 -- Powered by Blogger