public void initConfiguration() {

        m_jspRepository = m_configuration.get(PARAM_JSP_REPOSITORY);
        if (m_jspRepository == null) {
            m_jspRepository = OpenCms.getSystemInfo().getWebApplicationRfsPath();
        }
        m_jspWebAppRepository = m_configuration.getString(PARAM_JSP_FOLDER, DEFAULT_JSP_FOLDER);
        if (!m_jspWebAppRepository.endsWith("/")) {
            m_jspWebAppRepository += "/";
        }
        m_jspRepository = CmsFileUtil.normalizePath(m_jspRepository + m_jspWebAppRepository);

        String maxAge = m_configuration.get(PARAM_CLIENT_CACHE_MAXAGE);
        if (maxAge == null) {
            m_clientCacheMaxAge = -1;
        } else {
            m_clientCacheMaxAge = Long.parseLong(maxAge);
        }

        // get the "error pages are committed or not" flag from the configuration
        m_errorPagesAreNotCommitted = m_configuration.getBoolean(PARAM_JSP_ERRORPAGE_COMMITTED, true);

        int cacheSize = m_configuration.getInteger(PARAM_JSP_CACHE_SIZE, -1);
        if (cacheSize > 0) {
            initCaches(cacheSize);
        }

        // output setup information
        if (CmsLog.INIT.isInfoEnabled()) {
            CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_JSP_REPOSITORY_ABS_PATH_1, m_jspRepository));
            CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_WEBAPP_PATH_1, m_jspWebAppRepository));
            CmsLog.INIT.info(
                Messages.get().getBundle().key(
                    Messages.INIT_JSP_REPOSITORY_ERR_PAGE_COMMOTED_1,
                    Boolean.valueOf(m_errorPagesAreNotCommitted)));
            if (m_clientCacheMaxAge > 0) {
                CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_CLIENT_CACHE_MAX_AGE_1, maxAge));
            }
            if (cacheSize > 0) {
                CmsLog.INIT.info(
                    Messages.get().getBundle().key(Messages.INIT_JSP_CACHE_SIZE_1, String.valueOf(cacheSize)));
            }
            CmsLog.INIT.info(
                Messages.get().getBundle().key(Messages.INIT_LOADER_INITIALIZED_1, this.getClass().getName()));
        }
    }
public void initConfiguration ( ) { m_jspRepository = m_configuration . get ( PARAM_JSP_REPOSITORY ) ; if ( m_jspRepository == null ) { m_jspRepository = OpenCms . getSystemInfo ( ) . getWebApplicationRfsPath ( ) ; } m_jspWebAppRepository = m_configuration . getString ( PARAM_JSP_FOLDER , DEFAULT_JSP_FOLDER ) ; if ( ! m_jspWebAppRepository . endsWith ( "/" ) ) { m_jspWebAppRepository += "/" ; } m_jspRepository = CmsFileUtil . normalizePath ( m_jspRepository + m_jspWebAppRepository ) ; String maxAge = m_configuration . get ( PARAM_CLIENT_CACHE_MAXAGE ) ; if ( maxAge == null ) { m_clientCacheMaxAge = - 1 ; } else { m_clientCacheMaxAge = Long . parseLong ( maxAge ) ; } m_errorPagesAreNotCommitted = m_configuration . getBoolean ( PARAM_JSP_ERRORPAGE_COMMITTED , true ) ; int cacheSize = m_configuration . getInteger ( PARAM_JSP_CACHE_SIZE , - 1 ) ; if ( cacheSize > 0 ) { initCaches ( cacheSize ) ; } if ( CmsLog . INIT . isInfoEnabled ( ) ) { CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_JSP_REPOSITORY_ABS_PATH_1 , m_jspRepository ) ) ; CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_WEBAPP_PATH_1 , m_jspWebAppRepository ) ) ; CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_JSP_REPOSITORY_ERR_PAGE_COMMOTED_1 , Boolean . valueOf ( m_errorPagesAreNotCommitted ) ) ) ; if ( m_clientCacheMaxAge > 0 ) { CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_CLIENT_CACHE_MAX_AGE_1 , maxAge ) ) ; } if ( cacheSize > 0 ) { CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_JSP_CACHE_SIZE_1 , String . valueOf ( cacheSize ) ) ) ; } CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_LOADER_INITIALIZED_1 , this . getClass ( ) . getName ( ) ) ) ; } }
@see org.opencms.configuration.I_CmsConfigurationParameterHandler#initConfiguration()