configuration in JFinal to refresh FreeMarker template automatically

    public void afterJFinalStart(){
        Configuration config = FreeMarkerRender.getConfiguration();
        config.setTemplateUpdateDelayMilliseconds( 2 );
        config.setAPIBuiltinEnabled( true );
    }


你可能感兴趣的:(configuration in JFinal to refresh FreeMarker template automatically)