@Override
  public void init(ServletConfig config) {
    context = config.getServletContext();
  }
Save a reference to the ServletContext for later use.
extensions/session-testing-war/src/main/java/org/apache/geode/modules/session/CommandServlet.java