this.token = config.getInitParameter("token");
this.passCode = config.getInitParameter("passCode");
String confFile = config.getInitParameter("confFile");
try {
Conf conf = new Conf(config.getServletContext(), confFile);
this.urlRewriter = new UrlRewriter(conf);
} catch (Exception e) {
e.printStackTrace();
}
}