Bug 179636 [Smoke] Chart can not be previewed [0001]
Description: Chart can not be previewed Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1. New a chart, preview. Expected result: Chart is displayed correctly. Actual result: Chart can not be previewed. Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
* encoding convertion.
	 * 
	 * @param config
	 *            Servlet configuration
	 */
	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 = processWorkingFolder( context, context
				.getInitParameter( INIT_PARAM_WORKING_DIR ) );
		
		documentFolder = processRealPath( context, context
				.getInitParameter( INIT_PARAM_DOCUMENT_FOLDER ),
				IBirtConstants.DEFAULT_DOCUMENT_FOLDER, true );