List of usage examples for org.springframework.web.context WebApplicationContext getDisplayName
String getDisplayName();
From source file:example.WacuController.java
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { WebApplicationContext wac = WebApplicationContextUtils .getRequiredWebApplicationContext(this.servletContext); return new ModelAndView("wacu")// .addObject("applicationContextDisplayName", wac.getDisplayName())// .addObject("applicationContextClassName", wac.getClass().getName()); }