dap4/d4servlet/src/main/java/dap4/servlet/DapController.java
public void init()
            throws ServletException
    {
        org.slf4j.Logger logServerStartup = org.slf4j.LoggerFactory.getLogger("serverStartup");
        logServerStartup.info(getClass().getName() + " initialization start");
        try {
            System.setProperty("file.encoding", "UTF-8");
            Field charset = Charset.class.getDeclaredField("defaultCharset");
            charset.setAccessible(true);
            charset.set(null, null);
            initialize();
        } catch (Exception e) {
            throw new ServletException(e);
        }
    }
public void init()
            throws ServletException
    {
        org.slf4j.Logger logServerStartup = org.slf4j.LoggerFactory.getLogger("serverStartup");
        logServerStartup.info(getClass().getName() + " initialization start");
        try {
            System.setProperty("file.encoding", "UTF-8");
            Field charset = Charset.class.getDeclaredField("defaultCharset");
            charset.setAccessible(true);
            charset.set(null, null);
            initialize();
        } catch (Exception e) {
            throw new ServletException(e);
        }
    }
public void init ( ) throws ServletException { org . slf4j . Logger logServerStartup = org . slf4j . LoggerFactory . getLogger ( "serverStartup" ) ; logServerStartup . info ( getClass ( ) . getName ( ) + " initialization start" ) ; try { System . setProperty ( "file.encoding" , "UTF-8" ) ; Field charset = Charset . class . getDeclaredField ( "defaultCharset" ) ; charset . setAccessible ( true ) ; charset . set ( null , null ) ; initialize ( ) ; } catch ( Exception e ) { throw new ServletException ( e ) ; } }
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////