public void contextInitialized(ServletContextEvent event) {
super.contextInitialized(event);
// expose the application's properties to the servlet (and consequently to the JSP layer)
WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(event.getServletContext());
OverridablePropertyPlaceholderConfigurer configurer = (OverridablePropertyPlaceholderConfigurer) context.getBean(PORTAL_PROPERTY_PLACEHOLDER_BEAN_NAME);
event.getServletContext().setAttribute(APPLICATION_PROPERTIES_KEY, configurer.getResolvedProps());
}