Bug 155493 [Deploy] Pictures and chart pictures are lost when preview on Weblogic Server using WAR deploy
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
*/
	public synchronized static void initParameters( ServletConfig config )
	{
		if ( !isInitContext )
		{
			ParameterAccessor.initParameters( config.getServletContext( ) );
		}
	}
	/**
	 * Initial the parameters class. Web.xml is in UTF-8 format. No need to do
	 * encoding convertion.
	 * 
	 * @param context
	 *            Servlet Context
	 */
	public synchronized static void initParameters( ServletContext context )
	{
		if ( isInitContext )
			return;
		
		workingFolder = context.getInitParameter( INIT_PARAM_REPORT_DIR );
		documentFolder = context.getInitParameter( INIT_PARAM_DOCUMENT_FOLDER );
		if ( workingFolder == null || workingFolder.trim( ).length( ) <= 0 )
		{
			
			workingFolder = context.getRealPath( "/" ); 
		}
		
		
		if ( workingFolder != null