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
if ( url != null )
					realPath = DataUtil.trimString( url.getFile( ) ) + path;
			}
		}
		catch ( Exception e )
		{
			realPath = path;
		}
		return realPath;
	}
	/**
	 * Make directory
	 * 
	 * @param path
	 * @return
	 */
	private static boolean makeDir( String path )
	{
		assert path != null;
		File file = new File( path );
		if ( !file.exists( ) )
			return file.mkdirs( );
		return true;
	}
	/**
	 * Returns the temp image folder with session id
	 * 
	 * @param request
	 * @return
	 */