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
String absolutePath = docFile.getAbsolutePath( );
				String docFolderPath = docFolder.getAbsolutePath( );
				
				if ( isWindowsPlatform( ) )
				{
					absolutePath = absolutePath.toLowerCase( );
					docFolderPath = docFolderPath.toLowerCase( );
				}
				return absolutePath.startsWith( docFolderPath );
			}
			else
			{
				
				return false;
			}
		}
		return true;
	}
	/**
	 * Generate document name according to report name.
	 * 
	 * @param request
	 * @return document name.
	 */
	protected static String generateDocumentFromReport(
			HttpServletRequest request )
	{
		String fileName = getReport( request, null );
		if ( fileName.indexOf( '.' ) >= 0 )
		{