code: public void init(ApplicationConfig config) throws ServletException {
          PropertyMap properties = config.getProperties();
          mDomain = properties.getString("domain");
          mPath = properties.getString("path");
          mIsSecure = properties.getBoolean("isSecure", false);
          
          /*
          String className = config.getProperties().getString("encoderClass");
          if (className != null && !className.equals("")) {
              try {
                  Class clazz = Class.forName(className);
                  mTranscoder = (StringTranscoder) clazz.newInstance();
              } catch (ClassNotFoundException e) {
                  throw new ServletException(e);
              } catch (InstantiationException e) {
                  throw new ServletException(e);
              } catch (IllegalAccessException e) {
                  throw new ServletException(e);
              }
          } else {
              mTranscoder = new Base64StringTranscoder();
          }
          */
      }
docs: Initializes the application with the given configuration.  The following
  properties are supported:
  
  <dl>
  <dt>domain</dt>
  <dd>The static domain to use in setting and retrieving cookies</dd>
  
  <dt>path</dt>
  <dd>The static path to use in setting and retrieving cookies</dd>
  
  <dt>isSecure</dt>
  <dd>The boolean state of setting secure or insecure cookies</dd>
  </dl>
  
  @param config an ApplicationConfig object containing config. info.