// Register the ELResolver with JSP
jspApplicationContext.addELResolver(manager.getELResolver());
// Register ELContextListener with JSP
jspApplicationContext.addELContextListener(Reflections
.<ELContextListener> newInstance("org.jboss.weld.el.WeldELContextListener"));
// Push the wrapped expression factory into the servlet context so that
// Tomcat or Jetty can hook it in using a container code
servletConfig.getServletContext().setAttribute(EXPRESSION_FACTORY_NAME,