Bug 173223 Pages are lost when preview as PDF in web viewer[0002]
Pages are lost when preview as PDF in web viewer[0002] Build number: 2.2.0.v20070207-0941 Steps to reproduce: 1.open attached report design 2.preview in web viewer ,there are three pages,then click Print as PDF,there'll be only one page in PDF,but when you directly preview in PDF,there'll be three pages Expected result: 3 pages are displayed Actual result: only one page is displayed Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
*         relative path or not.
	 */
	public static boolean isRelativePath( String fileName )
	{
		if ( fileName == null )
		{
			return false;
		}
		return !new File( fileName ).isAbsolute( );
	}
	/**
	 * Check whether report parameter exists in the url.
	 * 
	 * @param request
	 *            http request
	 * @param name
	 *            parameter name
	 * @return whether report parameter exists in the url
	 */
	public static boolean isReportParameterExist( HttpServletRequest request,
			String name )
	{
		assert request != null && name != null;
		boolean isExist = false;
		Map paramMap = request.getParameterMap( );
		String ISOName = toISOString( name );
		if ( paramMap != null && paramMap.containsKey( ISOName ) )
		{
			isExist = true;
		}