code: public void contextInitialized(ServletContextEvent servletContextEvent) {
  		ServletContext servletContext = servletContextEvent.getServletContext();
  
  		File tempWriteDir = (File) servletContext
  				.getAttribute("javax.servlet.context.tempdir");
  		servletContext.setAttribute("audioFilePath", FILE_PROTOCOL + tempWriteDir
  				.getAbsolutePath() + File.separatorChar);		
  		// map acting as a registrar
  		servletContext.setAttribute("registeredUsersMap", new HashMap<String, String>());
  	}
docs: /*
  (non-Javadoc)
  
  @see javax.servlet.ServletContextListener#contextInitialized(javax.servlet.ServletContextEvent)