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
fileName = fileName.substring( 0, fileName.lastIndexOf( '.' ) );
		}
		
		String id = getParameter( request, PARAM_ID );
		if ( id != null && id.length( ) > 0 )
		{
			fileName = fileName + id + SUFFIX_REPORT_DOCUMENT;
		}
		else
		{
			fileName = fileName + SUFFIX_REPORT_DOCUMENT;
		}
		return fileName;
	}
	/**
	 * Get named parameter from http request. parameter names and values are all
	 * in iso-8859-1 format in request.
	 * 
	 * @param request
	 *            incoming http request
	 * @param parameterName
	 *            parameter name in UTF-8 format
	 * @return
	 */
	public static String getParameter( HttpServletRequest request,
			String parameterName )
	{
		return getParameter( request, parameterName, true );
	}
	/**