code: @Override
  	public void contextInitialized(ServletContextEvent evt) {
  		ServletContext sc = evt.getServletContext();
  
  		// Initialize Jawr JS servlet
  		ServletRegistration.Dynamic sr = sc.addServlet("JavascriptServlet",
  				"net.jawr.web.servlet.JawrServlet");
  		sr.setInitParameter("configLocation", "/jawr.properties");
  		sr.addMapping("*.js");
  		sr.setLoadOnStartup(0);
  
  		// Initialize Jawr CSS servlet
  		sr = sc.addServlet("CssServlet", "net.jawr.web.servlet.JawrServlet");
  		sr.setInitParameter("configLocation", "/jawr.properties");
  		sr.setInitParameter("type", JawrConstant.CSS_TYPE);
  		sr.addMapping("*.css");
  		sr.setLoadOnStartup(1);
  
  		// Initialize Jawr Binary servlet
  		sr = sc.addServlet("BinaryServlet", "net.jawr.web.servlet.JawrServlet");
  		sr.setInitParameter("configLocation", "/jawr.properties");
  		sr.setInitParameter("type", JawrConstant.BINARY_TYPE);
  		sr.addMapping("*.jpg", "*.png", "*.gif", "*.woff", "*.ttf", "*.svg", "*.eot");
  		sr.setLoadOnStartup(0);
  	}
docs: /*
  (non-Javadoc)
  
  @see
  javax.servlet.ServletContextListener#contextInitialized(javax.servlet
  .ServletContextEvent)