LOG.info("Pnews servlet init " + cfg.getServletContext().getContextPath());
config = new Config();
- config.loadConfig();
+ try {
+ config.loadConfig();
+ } catch (UnsupportedEncodingException e) {
+ throw new ServletException(e);
+ }
provider = new ArticleProvider(config);
}