super.init(config);
configuration = new Configuration();
configuration.setServletContextForTemplateLoading(getServletContext(), "ftl/gateway");
configuration.setDefaultEncoding("UTF-8");
GatewayConfig gatewayConfig = (GatewayConfig) getServletContext().getAttribute("gatewayConfig");
base.put("gatewayConfig", gatewayConfig);
List<AreaCategory> areaCategorys = (List<AreaCategory>) getServletContext().getAttribute("areaCategorys");
base.put("areaCategorys", areaCategorys);