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 ( !isRelativePath( filePath ) )
			return filePath;
		
		if ( isRelativePath( workingFolder ) )
		{
			filePath = getRealPath( workingFolder + "/" + filePath, request 
					.getSession( ).getServletContext( ) );
		}
		else
		{
			filePath = workingFolder + File.separator + filePath;
		}
		return filePath;
	}
	/**
	 * Get report document name. If passed file path is null, get document file
	 * from request. If isCreated is true, try to create the document file when
	 * file path is null.
	 * 
	 * @param request
	 * @param filePath
	 * @param isCreated
	 * @return
	 */
	public static String getReportDocument( HttpServletRequest request,
			String filePath, boolean isCreated )
	{
		if ( filePath == null )
			filePath = DataUtil.trimString( getParameter( request,
					PARAM_REPORT_DOCUMENT ) );