isWorkingFolderAccessOnly = Boolean .valueOf( context .getInitParameter( INIT_PARAM_WORKING_FOLDER_ACCESS_ONLY ) ) .booleanValue( );
	public synchronized static void initParameters( ServletConfig config )	{		// Report root.in the web.xml has higher priority.		workingFolder = config.getServletContext( ).getInitParameter(				INIT_PARAM_REPORT_DIR );		if ( workingFolder == null || workingFolder.trim( ).length( ) <= 0 )		{			// Use birt dir as default report root.			workingFolder = config.getServletContext( ).getRealPath( "/" ); //$NON-NLS-1$		}		// Report root could be empty. .WAR		// Clear out report location.		if ( workingFolder != null				&& workingFolder.trim( ).endsWith( File.separator ) )		{			workingFolder = workingFolder.trim( ).substring( 0,					workingFolder.trim( ).length( ) - 1 );		}		webAppLocale = getLocaleFromString( config.getServletContext( )				.getInitParameter( INIT_PARAM_LOCALE ) );	}