예제 #1
0
  /**
   * Context initialized.
   *
   * @param sce the sce
   */
  @Override
  public void contextInitialized(ServletContextEvent sce) {

    ServletContext context = sce.getServletContext();
    context.setAttribute("locales", LocaleManager.INSTANCE.getLocales());

    Locale.setDefault(Locale.ENGLISH);
  }